mirror of
https://github.com/Karaka-Management/oms-Media.git
synced 2026-02-17 17:58:40 +00:00
Automated formatting changes (NO_CI)
This commit is contained in:
parent
91c4a097aa
commit
a27022e0a1
|
|
@ -165,7 +165,7 @@ class UploadFile
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!empty($this->allowedTypes) && !in_array($f['type'], $this->allowedTypes, true)) {
|
if (!empty($this->allowedTypes) && !\in_array($f['type'], $this->allowedTypes, true)) {
|
||||||
$result[$key]['status'] = UploadStatus::WRONG_EXTENSION;
|
$result[$key]['status'] = UploadStatus::WRONG_EXTENSION;
|
||||||
|
|
||||||
return $result;
|
return $result;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user