Fix problem reported by Aleksander Piotrowski
authorsimond <simond@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 23 Feb 2002 09:39:44 +0000 (09:39 +0000)
committersimond <simond@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 23 Feb 2002 09:39:44 +0000 (09:39 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2506 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/file_prefs.php

index d52560a83fb4210c79c62c6b7e2ebba4295e57f7..e0208cb1d61bf6b0abf25917c12a9f166de57e5f 100644 (file)
@@ -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. */