Skip to content

Instantly share code, notes, and snippets.

@dpdexter
Created September 17, 2013 23:55
Show Gist options
  • Save dpdexter/6602456 to your computer and use it in GitHub Desktop.
Save dpdexter/6602456 to your computer and use it in GitHub Desktop.
BR 1.3.4.3 (dev release) patch for free shipping bug
function _producttype_multiselect($product_id,$attribute_id,$title,$label,$required,$val,$opts = ''){
$class = ($required == 1) ? 'required' : '' ;
$input_title = ($required == 1) ? $label.' '.lang('br_is_required') : $label ;
$options = '';
##### BEGIN PATCH: ADD THIS BELOW THE OPTIONS VARIABLE ######
// Check to make sure the value is not serialized
$data = @unserialize($val);
if($data !== false) {
$val = $data;
}
##### END PATCH #####
if(!is_array($opts)){
@dpdexter
Copy link
Author

This should be added to the core.brilliant_retail.php file in the brilliant_retail/core/class/ directory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment