php 8 error. class.mail.inc. line 149. #5 parameter cannot be null.
[fa-stable.git] / includes / prefs / sysprefs.inc
index cade4c2df8c93ab3f84f7d5d87c76697b5c989f8..34e52bccb706a0d7355096ab7a288c87efbf31fe 100644 (file)
@@ -21,7 +21,7 @@ class sys_prefs
        var $prefs;
        var $db_ok; // check whether database has been upgraded after src update.
 
-       function sys_prefs()
+       function __construct()
        {
                global $path_to_root;
 
@@ -38,6 +38,9 @@ class sys_prefs
 
                if (!$this->time_zone)
                        $this->time_zone = 'Europe/Berlin';
+                       
+               if (!isset($this->use_popup_search))
+                       $this->use_popup_search = false;
 
            ini_set('date.timezone', $this->time_zone);
        }