Explorar el Código

Make sure is initialized when resetting the cache

pdontthink hace 2 años
padre
commit
022460cfb2
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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');