Totally Zenned
- Join Date:
- Dec 2009
- Location:
- Amersfoort, The Netherlands
- Posts:
- 2,862
- Plugin Contributions:
- 5
[No bug]extra opening in includesmodulespagesadvanced_search_resultheader_php.php
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.
$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.
Zen cart installation / maintenance / customisation / hosting
Supported Modules: Dutch language pack, Multi site, Dynamic Price Updater and more.