Skip to content

Commit

Permalink
shop update
Browse files Browse the repository at this point in the history
  • Loading branch information
skeeks-semenov committed Feb 20, 2024
1 parent 5f529f7 commit ca8758b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ImportCsvHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ public function getCsvColumnsData($startRow = 0, $endRow = 10)
if (\Yii::$app->charset != $this->csv_source_charset) {
$encodedData = [];
foreach ($data as $row) {
$row = iconv($this->csv_source_charset, \Yii::$app->charset, $row);
$row = iconv($this->csv_source_charset, \Yii::$app->charset, (string) $row);
$encodedData[] = $row;
}

Expand Down

0 comments on commit ca8758b

Please sign in to comment.