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:
@@ -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
|
||||
|
Reference in New Issue
Block a user