mirror of
https://github.com/e107inc/e107.git
synced 2025-08-12 09:34:54 +02:00
Code speed optimization
This commit is contained in:
@@ -1742,7 +1742,7 @@ class e_jsmanager
|
||||
$i -= 1;
|
||||
}
|
||||
|
||||
if ($i > 0 && $parts[$i] === "") // remove empty parts
|
||||
if ($i > 0 && empty($parts[$i])) // remove empty parts
|
||||
{
|
||||
unset($parts[$i]);
|
||||
$parts = array_values($parts);
|
||||
|
Reference in New Issue
Block a user