Преглед изворни кода

Make sure is initialized when resetting the cache

pdontthink пре 2 година
родитељ
комит
022460cfb2
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      functions/file_prefs.php

+ 1 - 0
functions/file_prefs.php

@@ -34,6 +34,7 @@ function cachePrefValues($data_dir, $username) {
         return;
     }
 
+    $prefs_cache = array();
     sqsession_unregister('prefs_cache');
     sqsession_unregister('prefs_are_cached');