Created
September 17, 2013 23:55
-
-
Save dpdexter/6602456 to your computer and use it in GitHub Desktop.
BR 1.3.4.3 (dev release) patch for free shipping bug
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)){ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This should be added to the core.brilliant_retail.php file in the brilliant_retail/core/class/ directory