(I've put the line
in the config_inc.php file)$g_limit_reporters = ON;
any user with a reporter profile gets the following error after login
APPLICATION ERROR #401
Database query failed. Error received from database was #1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '? AND mantis_project_table.id = mantis_bug_table.project_id AND ( ( mantis_bug_t' at line 3 for the query: SELECT Count(DISTINCT mantis_bug_table.id) as idcnt FROM mantis_project_table, mantis_bug_table
WHERE mantis_project_table.enabled = ? AND mantis_project_table.id = mantis_bug_table.project_id AND ( ( mantis_bug_table.project_id = 1 ) AND ( ( mantis_bug_table.view_state = 10 ) OR ( mantis_bug_table.reporter_id = 3 ) ) ) AND (mantis_bug_table.reporter_id=?) AND ( mantis_bug_table.handler_id=0 ) AND ( mantis_bug_table.status in (?, ?, ?, ?, ?, ?) )
Any ideas?
Thanks