Query execute error in /var/www/sites/scorpion/www/WEB-INF/classes/clsDataBase.php::OpenResultSet:
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 'category=13765 = SubCategory.id, 'category', 'subcategory') as type FROM SubCate' at line 1
Source query:
SELECT SubCategory.id, SubCategory.description, SubCategory.meta_description, SubCategory.meta_keywords, IF(13764⊂category=13765 = SubCategory.id, 'category', 'subcategory') as type FROM SubCategory WHERE SubCategory.is_visible = 1 AND SubCategory.id IN (13764⊂category=13765, -1) ORDER BY SubCategory.description