From 994d7ca83e534f7e589ffbfb9c2d78a364d7c79a Mon Sep 17 00:00:00 2001 From: conory Date: Thu, 16 Sep 2021 18:58:41 +0900 Subject: [PATCH] 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 --- modules/file/file.controller.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/file/file.controller.php b/modules/file/file.controller.php index 4131f03c9..ada9c087c 100644 --- a/modules/file/file.controller.php +++ b/modules/file/file.controller.php @@ -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; } }