X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Fprefs%2Fsysprefs.inc;h=34e52bccb706a0d7355096ab7a288c87efbf31fe;hb=95f98ed74ac6379b95e2ceb1eb0c9bbcd36fd4a9;hp=cade4c2df8c93ab3f84f7d5d87c76697b5c989f8;hpb=8ffddf50ffbe93672c769e2cf0501d0f9125e2a0;p=fa-stable.git diff --git a/includes/prefs/sysprefs.inc b/includes/prefs/sysprefs.inc index cade4c2d..34e52bcc 100644 --- a/includes/prefs/sysprefs.inc +++ b/includes/prefs/sysprefs.inc @@ -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); }