From 62337234c9e6c8bf70e864a148248fecc4c1eb1c Mon Sep 17 00:00:00 2001 From: teepe Date: Fri, 25 Jan 2002 16:46:36 +0000 Subject: [PATCH] fix in db_prefs git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2238 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/db_prefs.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/functions/db_prefs.php b/functions/db_prefs.php index 519f066f..b0f38df7 100644 --- a/functions/db_prefs.php +++ b/functions/db_prefs.php @@ -119,7 +119,11 @@ class dbPrefs { if (isset($prefs_cache[$key])) { return $prefs_cache[$key]; } else { - return $default; + if (isset($this->default[$key])) { + return $this->default[$key]; + } else { + return $default; + } } } -- 2.25.1