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

mfb’s picture

Can you give me a sample keyword that causes the warning so I can try to reproduce?

mfb’s picture

Status: Active » Fixed

Nevermind i figured it out, just need a keyword that is reduced to empty string by the search query parser. Fixed in CVS.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.