Closed (fixed)
Project:
Advanced gallery
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Dec 2011 at 20:44 UTC
Updated:
11 Jan 2012 at 21:00 UTC
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 ') AND uid=4 AND type='advimage'' at line 1 query: SELECT nid FROM drgr_node WHERE nid in() AND uid=4 AND type='advimage' в файле /www/sites/all/modules/advimage/advimage_ref/advimage_ref.module в строке 206.
We need check array is empty there while doing implode and do not do db_query() if nothing to select.
Comments
Comment #1
ilya1st commentedfixed in -dev