1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-11 17:14:42 +02:00

PHP7 Warnings Fix - requires testing.

This commit is contained in:
Cameron
2016-04-21 12:04:09 -07:00
parent 6a91e5abfb
commit fd4c707fce
2 changed files with 8 additions and 8 deletions

View File

@@ -440,7 +440,7 @@ class e_pref extends e_front_model
* @param boolean $force
* @return e_pref
*/
public function load($force = false)
public function load($id=null, $force = false)
{
global $pref;
if($force || !$this->hasData())