Commit 85e398f122e24b44d5ddd5e5077d3ee3c10b77ac

Authored by Administrator
1 parent 07f74fa8

20.07.16

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
common/modules/product/models/Import.php
... ... @@ -382,7 +382,7 @@ class Import extends Model {
382 382 $mod_color = $mod_arr[2];
383 383 $mod_image = $mod_arr[3];
384 384 $mod_stock = isset($mod_arr[4]) ?$mod_arr[4]:1;
385   - $mod_cost = floatval($product_cost);
  385 + $mod_cost = isset($product_cost) ? floatval($product_cost) : 0;
386 386 $mod_old_cost = floatval($product_cost_old);
387 387  
388 388 // Check product variant
... ...