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

Ilya1st’s picture

Status: Active » Fixed

fixed in -dev

Status: Fixed » Closed (fixed)

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