From ef2cdb56b0abced66e7393258f5765bab805e87d Mon Sep 17 00:00:00 2001 From: Kijin Sung Date: Thu, 1 Jul 2021 15:16:12 +0900 Subject: [PATCH] Fix warning in PHP 8.0 --- classes/frontendfile/FrontEndFileHandler.class.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/classes/frontendfile/FrontEndFileHandler.class.php b/classes/frontendfile/FrontEndFileHandler.class.php index 1fb1fed45..9776350cf 100644 --- a/classes/frontendfile/FrontEndFileHandler.class.php +++ b/classes/frontendfile/FrontEndFileHandler.class.php @@ -123,6 +123,10 @@ class FrontEndFileHandler extends Handler $source_hint = $args[2]; $args[2] = ''; } + else + { + $source_hint = ''; + } $file = $this->getFileInfo($args[0], $args[2] ?? '', $args[1] ?? 'all', $args[4] ?? [], $isCommon); $file->index = (int)($args[3] ?? 0);