Pārlūkot izejas kodu

Fix problem reported by Aleksander Piotrowski

simond 23 gadi atpakaļ
vecāks
revīzija
5b31d9c211
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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. */