diff --git a/common/modules/product/models/Export.php b/common/modules/product/models/Export.php index d4050fc..a7a1485 100755 --- a/common/modules/product/models/Export.php +++ b/common/modules/product/models/Export.php @@ -74,6 +74,11 @@ implode(',', $fotos), ]; $to_write = array_merge($list, $mods); + + foreach ($to_write as $key => $value) { + $to_write[$key] = trim(preg_replace('/[^\S ]/', ' ', $value)); + } + fputcsv($handle, $to_write, ';'); unset( $product ); } -- libgit2 0.21.4