Author Topic: Problem with search by product type parameters  (Read 2209 times)

doorknob

  • Jr. Member
  • **
  • Posts: 151
Problem with search by product type parameters
« 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
Code: [Select]
if (is_array($get_item_value) ? count($get_item_value) : strlen($get_item_value) ) {
to
Code: [Select]
if (is_array($get_item_value) ? count($get_item_value) : (strlen($get_item_value) && $get_item_value <> '0')) {

regards
Phil