Skip to content

Commit

Permalink
Issue #5079 PHP Warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
CaMer0n committed Nov 16, 2023
1 parent 4308bf1 commit 4f13dbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e107_handlers/js_manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 4f13dbd

Please sign in to comment.