From 4f13dbdf6a5f577b1140db2db6d77489b4adc044 Mon Sep 17 00:00:00 2001 From: camer0n Date: Thu, 16 Nov 2023 10:36:58 -0800 Subject: [PATCH] Issue #5079 PHP Warning. --- e107_handlers/js_manager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e107_handlers/js_manager.php b/e107_handlers/js_manager.php index 4715cdca88..34edb3bfb9 100644 --- a/e107_handlers/js_manager.php +++ b/e107_handlers/js_manager.php @@ -1863,7 +1863,7 @@ private function normalizePath($path) $parts = array_values($parts); $i -= 2; } - elseif ($parts[$i] === ".") // resolve . + elseif (isset($parts[$i]) && ($parts[$i] === ".")) // resolve . { unset($parts[$i]); $parts = array_values($parts);