mirror of
https://github.com/Karaka-Management/oms-Media.git
synced 2026-01-29 17:18:39 +00:00
Strict test
This commit is contained in:
parent
24734f2263
commit
ae535e0b14
|
|
@ -94,7 +94,7 @@ class UploadFile
|
|||
{
|
||||
$result = [];
|
||||
|
||||
if (\count($files) == \count($files, COUNT_RECURSIVE)) {
|
||||
if (\count($files) === \count($files, COUNT_RECURSIVE)) {
|
||||
$files = [$files];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user