mirror of
https://github.com/e107inc/e107.git
synced 2025-08-19 04:41:53 +02:00
PHP Notice removal.
This commit is contained in:
@@ -160,7 +160,7 @@ class core_news_sef_noid_url extends eUrlConfig
|
||||
*/
|
||||
public function parse($pathInfo, $params, $request, $router, $config)
|
||||
{
|
||||
$page = $params['page'] ? intval($params['page']) : '0';
|
||||
$page = !empty($params['page']) ? intval($params['page']) : '0';
|
||||
if(!$pathInfo)
|
||||
{
|
||||
## this var is used by default from legacy() method
|
||||
|
Reference in New Issue
Block a user