Browse Source

Fix problem reported by Aleksander Piotrowski

simond 23 years ago
parent
commit
5b31d9c211
1 changed files with 1 additions and 1 deletions
  1. 1 1
      functions/file_prefs.php

+ 1 - 1
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. */