Fix PHP Exception

PHP Exception: TypeError #0 "explode(): Argument #2 ($string) must be of type string, stdClass given" in modules/file/file.controller.php on line 1273
This commit is contained in:
conory 2021-09-16 18:58:41 +09:00
parent 807461f0ac
commit 994d7ca83e

View file

@ -947,7 +947,7 @@ class fileController extends file
if(!$output->toBool())
{
$oDB->rollback();
$this->deleteFile($args);
$this->deleteFile(array($args));
return $output;
}
@ -964,7 +964,7 @@ class fileController extends file
if(!$output->toBool())
{
$oDB->rollback();
$this->deleteFile($args);
$this->deleteFile(array($args));
return $output;
}
}