@ -146,11 +146,9 @@ class FileManager
$fileNewIdStr = $dataModel->$fileIdStrName;
$dataModel->save();
$saveFileRes = GoodsManager::saveFile(explode(',', $fileNewIdStr), $dataModel, explode(',', $fileOldIdStr), $fileType);
if ($fileNameInModel) {
if ($saveFileRes['status']) {
$dataModel->$fileNameInModel = $saveFileRes['first_file_id'];
}
if ($fileNameInModel && $saveFileRes['status'] && $saveFileRes['first_file_id']) {
return true;