toi uu xu ly dong bo du lieu tu may chu
This commit is contained in:
@@ -82,7 +82,7 @@ class ControlLogsController extends Controller {
|
||||
return ["status" => false, "text" => "Mỗi đối tượng chỉ nhận tối đa " . \Yii::$app->params['maxPicture'] . " hình ảnh mẫu"];
|
||||
$add = true;
|
||||
foreach ($images as $key => $value) {
|
||||
if ($value['urlOld'] === $url)
|
||||
if (isset($value['urlOld']) && $value['urlOld'] === $url)
|
||||
$add = false;
|
||||
}
|
||||
if ($add) {
|
||||
|
||||
Reference in New Issue
Block a user