DEBUG: SQL = SELECT coupon_id, ord from infocms_module_coupon_excl_coupon a INNER JOIN cms_module_company b on a.coupon_id=b.id WHERE cat_id=-1 AND city_id=-1 AND ord>=1 AND ord<=18 AND (valid_from<=NOW() or valid_from is NULL) AND (valid_until>=NOW() or valid_until is NULL) AND status=2 AND type=1 AND title LIKE Н%'
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 3