Skip to content
Snippets Groups Projects
Commit c74d484f authored by Sivaji Ganesh Jojodae's avatar Sivaji Ganesh Jojodae
Browse files

#658884 by sivaji: Fixed Conflict with Support Ticketing System module.

parent da4d43af
No related branches found
No related tags found
No related merge requests found
......@@ -331,7 +331,9 @@ abstract class QuizQuestion {
$sql = "SELECT n.nid, n.vid, title
FROM {node} n
WHERE type = 'quiz'";
if (drupal_strlen($found) > 0) $sql .= " AND nid NOT IN ($found)";
if (drupal_strlen($found) > 0) {
$sql .= " AND n.nid NOT IN ($found)";
}
$sql .= " ORDER BY changed LIMIT %d";
$res = db_query(db_rewrite_sql($sql), QUIZ_QUESTION_N_O_LATEST - count($latest));
while ($res_o = db_fetch_object($res)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment