mirror of
https://github.com/e107inc/e107.git
synced 2025-08-10 16:46:50 +02:00
Code speed optimization
This commit is contained in:
@@ -210,7 +210,7 @@ class core_news_sef_noid_url extends eUrlConfig
|
||||
else
|
||||
{
|
||||
if(!is_numeric($parts[1])) $id = $this->categoryIdByTitle($parts[1]);
|
||||
else $id = intval($parts[1]);
|
||||
else $id = (int) $parts[1];
|
||||
}
|
||||
if(!$id)
|
||||
{
|
||||
|
Reference in New Issue
Block a user