Procházet zdrojové kódy

Make sure is initialized when resetting the cache

pdontthink před 2 roky
rodič
revize
022460cfb2
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  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');