Closed (fixed)
Project:
Quiz
Version:
6.x-4.1
Component:
Code - Import/Export
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 May 2011 at 18:12 UTC
Updated:
18 Sep 2011 at 16:01 UTC
The bug causes error when using Categories in Quiz, while trying to type Category:
user warning: Table 'konferencje9.term_data' doesn't exist query: SELECT t.name, t.tid FROM term_data t WHERE vid IN (1) AND t.name LIKE '%jj%' in /sites/all/modules/quiz/quiz.admin.inc on line 780.
This is when using prefix id DB.
solution:
quiz.admin.inc:773
- $sql = "SELECT t.name, t.tid
- FROM term_data t
- WHERE vid IN (" . db_placeholders($sql_args) . ")";
+ $sql = "SELECT t.name, t.tid
+ FROM {term_data} t
+ WHERE vid IN (" . db_placeholders($sql_args) . ")";
Comments
Comment #1
falcon commentedFixed in duplicate issue.