SQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')' at line 1 at /var/www/ino/data/www/ino-marochka.ru/adm/lib/php/cms_sql/class_tecdoc.php line 411
Array
(
    [code] => 1064
    [message] => You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')' at line 1
    [query] => SELECT id FROM cms_product WHERE (code_search='EK800' and brand_id=)
    [context] => /var/www/ino/data/www/ino-marochka.ru/adm/lib/php/cms_sql/class_tecdoc.php line 411
)