1
0
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:
Cameron
2016-03-13 00:16:08 -08:00
parent af1bbb1c8a
commit 3f6fe6cd85
8 changed files with 15 additions and 9 deletions

View File

@@ -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