소스 검색

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');