Query execute error in /var/www/sites/scorpion.com.hk/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=-1 = SubCategory.id, 'category', 'subcategory') as typ
Source query:
SELECT SubCategory.id, SubCategory.description, SubCategory.meta_description, SubCategory.meta_keywords, IF(14018⊂category=-1 = SubCategory.id, 'category', 'subcategory') as type FROM SubCategory WHERE SubCategory.is_visible = 1 AND SubCategory.id IN (14018⊂category=-1, -1) ORDER BY SubCategory.description