1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-06 14:46:56 +02:00

PHP Notice removal

This commit is contained in:
Cameron
2017-12-12 21:44:50 -08:00
parent 29393605b9
commit 8d08a80231
2 changed files with 7 additions and 3 deletions

View File

@@ -29,19 +29,20 @@ class core_search_url extends eUrlConfig
/**
* Query mapping
*/
public function create($route, $params = array(), $options)
public function create($route, $params = array(), $options=array())
{
if(!$params) return 'search.php';
return 'search.php?'.eFront::instance()->getRouter()->createPathInfo($params, $options);
}
/*
public function parse($pathInfo)
{
// this config doesn't support parsing, it's done by the module entry script (search.php)
// this means Search is not available via single entry point if this config is currently active
return false;
}
}*/
/**
* Admin callback