PHP 8.0에서 변경된 implode() 매개변수 순서 수정

This commit is contained in:
kit rio
2022-05-24 17:10:17 +09:00
parent 66d9ae44da
commit d3d7b9aadc
2 changed files with 2 additions and 2 deletions

View File

@ -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'].'<br />';
switch ($cellDataOfficeAttributes['value-type']) {

View File

@ -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);