From 95db2f73d80577ffe15ae2319ee9e5c712ff486d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AB=8F=E8=A8=AA=E5=AD=90?= Date: Fri, 12 Dec 2025 01:22:55 +0900 Subject: [PATCH] =?UTF-8?q?=E3=81=A1=E3=82=93=E3=81=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Site/Lib/Auth.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Site/Lib/Auth.php b/src/Site/Lib/Auth.php index 61ee4f1..4f6f80e 100644 --- a/src/Site/Lib/Auth.php +++ b/src/Site/Lib/Auth.php @@ -271,6 +271,7 @@ class Auth { break; } } + if (!isset($matches[0])) return 0; $id = (int)preg_replace('/^(.*?)\.(.*?)$/', "$1", str_replace($this->dataDir, '', $matches[0])); return $id;