Przeglądaj źródła

* Removed a warning

Tyler Akins 24 lat temu
rodzic
commit
4b3f400ffc
1 zmienionych plików z 1 dodań i 1 usunięć
  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);