From bd1180c170d2146429787562801f51776d933e60 Mon Sep 17 00:00:00 2001 From: simond Date: Sat, 23 Feb 2002 09:39:44 +0000 Subject: [PATCH] Fix problem reported by Aleksander Piotrowski git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2506 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/file_prefs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/file_prefs.php b/functions/file_prefs.php index d52560a8..e0208cb1 100644 --- a/functions/file_prefs.php +++ b/functions/file_prefs.php @@ -144,7 +144,7 @@ function setPref($data_dir, $username, $string, $value) { function checkForPrefs($data_dir, $username, $filename = '') { /* First, make sure we have the filename. */ if ($filename == '') { - $filename = getHashedFile($username, $data_dir, '$username.pref'); + $filename = getHashedFile($username, $data_dir, "$username.pref"); } /* Then, check if the file exists. */ -- 2.25.1