From bfb74e2281ce9cf6952b37b6926b69728c21e83c Mon Sep 17 00:00:00 2001 From: Vitaliy Date: Fri, 26 Aug 2016 15:30:51 +0300 Subject: [PATCH] big commti --- common/modules/product/models/Export.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/common/modules/product/models/Export.php b/common/modules/product/models/Export.php index 5bbaf37..744c9a4 100755 --- a/common/modules/product/models/Export.php +++ b/common/modules/product/models/Export.php @@ -85,9 +85,7 @@ class Export extends Model { ]; $to_write = array_merge ($list, $mods); - foreach($to_write as &$cell) { - $cell = iconv("UTF-8", "WINDOWS-1251", $cell); - } + fputcsv($handle, $to_write, ';'); -- libgit2 0.21.4