Fixed error

Notice: Constant REPORT_CUSTOMSQL_MAX_RECORDS already defined