소스 검색

* Removed a warning

Tyler Akins 24 년 전
부모
커밋
4b3f400ffc
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      functions/prefs.php

+ 1 - 1
functions/prefs.php

@@ -103,7 +103,7 @@
       global $prefs_cache;
       
       cachePrefValues($data_dir, $username);
-      if ($prefs_cache[$string] == $set_to)
+      if (isset($prefs_cache[$string]) && $prefs_cache[$string] == $set_to)
          return;
       if ($set_to == '') {
          removePref($data_dir, $username, $string);