Active
Project:
Dodge
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Apr 2009 at 18:32 UTC
Updated:
10 Apr 2009 at 18:32 UTC
I'm getting this error, can anyone provide a suggestion for a fix?
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 'SELECT dodge, if (uid = 1, 0, 1) AS weight FROM dodge WHERE uid query: SELECT DISTINCT dodge FROM (SELECT dodge, if (uid = 1, 0, 1) AS weight FROM dodge WHERE uid = 1 UNION SELECT dodge, 2 AS weight FROM dodge_options) AS all_dodges WHERE LOWER(dodge) LIKE LOWER(': tis ok. Truth be told%') ORDER BY weight ASC, dodge ASC LIMIT 0, 10 in /home/www/foobar.com/includes/database.mysql.inc on line 174.