News:

Support the VirtueMart project and become a member

Main Menu

Problem in shop_browse_queries.php

Started by doorknob, August 29, 2008, 01:25:47 AM

Previous topic - Next topic

doorknob

When using a product type parameter search, if a single value is returned from a 'multiple' field, a problem occurs in shop_browse_queries because the code expects an array
Line 218 should be changed from
$comp = " IN ('".join("','",$get_item_value)."')";

to
$comp = " IN ('".( is_array($get_item_value) ? join("','",$get_item_value) : $get_item_value )."')";


Regards
Phil

korb

#1
Thanks for fixing this and improving Product Type feature. I did the manual for Product Types :P you improve it.


Danny


PS: please post all your bugs to the tracker, and read this FRQ, maybe it interests you.