VirtueMart Forum

VirtueMart Dev/Coding Central: VM1 (old version) => Virtuemart 1.1 Development (Archiv) => Quality & Testing VirtueMart 1.1.x => Topic started by: doorknob on August 20, 2008, 20:50:01 PM

Title: Problem with search by product type parameters
Post by: doorknob on August 20, 2008, 20:50:01 PM
I have found it necessary to make the following change to shop_browse_queries.php because some unselected parameters return a value of zero.
Line 196 changed from
if (is_array($get_item_value) ? count($get_item_value) : strlen($get_item_value) ) {

to
if (is_array($get_item_value) ? count($get_item_value) : (strlen($get_item_value) && $get_item_value <> '0')) {


regards
Phil