FIX : with callback function
This commit is contained in:
parent
77552fa32a
commit
787f52fd7f
@ -602,7 +602,9 @@ class ProductCombination
|
|||||||
$prodcomb2val = new ProductCombination2ValuePair($this->db);
|
$prodcomb2val = new ProductCombination2ValuePair($this->db);
|
||||||
$prodcomb = new ProductCombination($this->db);
|
$prodcomb = new ProductCombination($this->db);
|
||||||
|
|
||||||
$features = array_filter($features);
|
$features = array_filter($features, function($v) {
|
||||||
|
return !empty($v);
|
||||||
|
});
|
||||||
|
|
||||||
foreach ($features as $attr => $attr_val) {
|
foreach ($features as $attr => $attr_val) {
|
||||||
$actual_comp[$attr] = $attr_val;
|
$actual_comp[$attr] = $attr_val;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user