From bc0bd769402e2b820fdcecaab97f9ccf44416708 Mon Sep 17 00:00:00 2001 From: pdontthink Date: Thu, 13 Apr 2023 05:28:58 +0000 Subject: [PATCH] Make sure $prefs_cache is initialized when resetting the cache git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14988 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/file_prefs.php | 1 + 1 file changed, 1 insertion(+) diff --git a/functions/file_prefs.php b/functions/file_prefs.php index fca4d990..3cb7d461 100644 --- a/functions/file_prefs.php +++ b/functions/file_prefs.php @@ -34,6 +34,7 @@ function cachePrefValues($data_dir, $username) { return; } + $prefs_cache = array(); sqsession_unregister('prefs_cache'); sqsession_unregister('prefs_are_cached'); -- 2.25.1