瀏覽代碼

Fix problem reported by Aleksander Piotrowski

simond 23 年之前
父節點
當前提交
5b31d9c211
共有 1 個文件被更改,包括 1 次插入1 次删除
  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 = '') {
 function checkForPrefs($data_dir, $username, $filename = '') {
     /* First, make sure we have the filename. */
     /* First, make sure we have the filename. */
     if ($filename == '') {
     if ($filename == '') {
-        $filename = getHashedFile($username, $data_dir, '$username.pref');
+        $filename = getHashedFile($username, $data_dir, "$username.pref");
     }
     }
 
 
     /* Then, check if the file exists. */
     /* Then, check if the file exists. */