From d3d7b9aadc7ca02128e1b62ba4779f6e75d77e6c Mon Sep 17 00:00:00 2001 From: kit rio Date: Tue, 24 May 2022 17:10:17 +0900 Subject: [PATCH] =?UTF-8?q?PHP=208.0=EC=97=90=EC=84=9C=20=EB=B3=80?= =?UTF-8?q?=EA=B2=BD=EB=90=9C=20implode()=20=EB=A7=A4=EA=B0=9C=EB=B3=80?= =?UTF-8?q?=EC=88=98=20=EC=88=9C=EC=84=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/PHPExcel/Reader/OOCalc.php | 2 +- .../smarteditor2/photo_uploader/popup/php/UploadHandler.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/PHPExcel/Reader/OOCalc.php b/lib/PHPExcel/Reader/OOCalc.php index a889d9570..f25c31f1a 100644 --- a/lib/PHPExcel/Reader/OOCalc.php +++ b/lib/PHPExcel/Reader/OOCalc.php @@ -535,7 +535,7 @@ class PHPExcel_Reader_OOCalc extends PHPExcel_Reader_Abstract implements PHPExce array_push($dataArray, $pData); } } - $allCellDataText = implode($dataArray, "\n"); + $allCellDataText = implode("\n", $dataArray); // echo 'Value Type is '.$cellDataOfficeAttributes['value-type'].'
'; switch ($cellDataOfficeAttributes['value-type']) { diff --git a/plugin/editor/smarteditor2/photo_uploader/popup/php/UploadHandler.php b/plugin/editor/smarteditor2/photo_uploader/popup/php/UploadHandler.php index 8d26192a2..2eed258f8 100644 --- a/plugin/editor/smarteditor2/photo_uploader/popup/php/UploadHandler.php +++ b/plugin/editor/smarteditor2/photo_uploader/popup/php/UploadHandler.php @@ -1057,7 +1057,7 @@ class UploadHandler } if (count($failed_versions)) { $file->error = $this->get_error_message('image_resize') - .' ('.implode($failed_versions,', ').')'; + .' ('.implode(', ', $failed_versions).')'; } // Free memory: $this->destroy_image_object($file_path);