1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-21 05:41:58 +02:00

PHP Warning Fixes.

This commit is contained in:
Cameron
2016-06-09 16:43:36 -07:00
parent 5a820eaf52
commit 7fdb27510f
6 changed files with 20 additions and 10 deletions

View File

@@ -165,8 +165,9 @@ class core_news_sef_noid_url extends eUrlConfig
* - news/Category/Category-Name?page=10 -> list.xxx.10
* - news/Day|Month-xxx -> day|month-xxx
*/
public function parse($pathInfo, $params, $request, $router, $config)
public function parse($pathInfo, $params = array(), eRequest $request = null, eRouter $router = null, $config = array())
{
$page = !empty($params['page']) ? intval($params['page']) : '0';
if(!$pathInfo)
{