In includes\modules\pages\advanced_search_result\header_php.php on line245 there is an opening bracket in the code, but it isn't closed.
PHP Code:
$where_str = " WHERE (p.products_status = 1
AND p.products_id = pd.products_id
AND pd.language_id = :languagesID
AND p.products_id = p2c.products_id
AND p2c.categories_id = c.categories_id ";
It doesn't give any errors, at least not experienced by me, but I found it during troubleshooting some custom code.
This bracket has been there at least since ZC 1.38, but could be on earlier versions to.
My guess is it is not necessary to use the bracket and it could be removed from the code.
Bookmarks