mirror of
https://github.com/e107inc/e107.git
synced 2025-08-12 17:44:37 +02:00
PHP 7.1 Fixes.
This commit is contained in:
@@ -140,7 +140,7 @@ class e_menu
|
||||
*/
|
||||
public function pref()
|
||||
{
|
||||
return $this->_current_parms;
|
||||
return (empty($this->_current_parms)) ? array() : $this->_current_parms;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user