From 1b1256d6e9264d8fa77d3b605bb0466e3f4e1323 Mon Sep 17 00:00:00 2001 From: Vitaliy Date: Fri, 26 Aug 2016 16:40:55 +0300 Subject: [PATCH] big commti --- common/modules/product/models/Export.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/common/modules/product/models/Export.php b/common/modules/product/models/Export.php index fde4ea8..f4db9d4 100755 --- a/common/modules/product/models/Export.php +++ b/common/modules/product/models/Export.php @@ -20,9 +20,6 @@ class Export extends Model { $products = Product::find() ->joinWith(['variantsWithFilters','brand','categories'])->with('filters')->all(); - - - foreach ($products as $product) { @@ -92,7 +89,7 @@ class Export extends Model { fputcsv($handle, $to_write, ';'); unset($product); - die('first'); + } -- libgit2 0.21.4