Ver Fonte

Make sure is initialized when resetting the cache

pdontthink há 2 anos atrás
pai
commit
022460cfb2
1 ficheiros alterados com 1 adições e 0 exclusões
  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');