Completed
Push — master ( 133a7e...6755a2 )
by Lawrence
02:04
created
src/Prestashop.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -159,11 +159,11 @@
 block discarded – undo
159 159
         $specific_price = null;
160 160
 
161 161
         $combinations['name'] = $row['product_name'];
162
-        $typcheck = array("id_product", "price", "base_price", "price", "ecotax","weight","quantity","unit_impact","minimal_quantity");
162
+        $typcheck = array("id_product", "price", "base_price", "price", "ecotax", "weight", "quantity", "unit_impact", "minimal_quantity");
163 163
 
164 164
         foreach ($typcheck as $key=>$value) 
165 165
         { 
166
-            if ( (strpos($value, 'price') !== false) || (strpos($value, 'weight') !== false) || (strpos($value, 'ecotax') !== false) || (strpos($value, 'impact') !== false) )
166
+            if ((strpos($value, 'price') !== false) || (strpos($value, 'weight') !== false) || (strpos($value, 'ecotax') !== false) || (strpos($value, 'impact') !== false))
167 167
             {
168 168
                 $combinations[$value] = (float) $row[$value]; 
169 169
             } else {
Please login to merge, or discard this patch.