Closed (fixed)
Project:
Mass tag
Version:
6.x-1.0
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Feb 2009 at 06:48 UTC
Updated:
12 Mar 2009 at 01:40 UTC
I get this warning when i did a search with a trailing hyphen
user warning: 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 '' at line 1 query: SELECT n.nid, n.vid, n.title FROM dp6_node n INNER JOIN dp6_search_index i ON n.nid = i.sid AND i.type = 'node' WHERE in /xxxxxxx/press/sites/all/modules/masstag/masstag.inc on line 19.
I will have a look at the code if i get time.
Comments
Comment #1
mfbCan you give me a sample keyword that causes the warning so I can try to reproduce?
Comment #2
mfbNevermind i figured it out, just need a keyword that is reduced to empty string by the search query parser. Fixed in CVS.