Explorar o código

* Removed a warning

Tyler Akins %!s(int64=24) %!d(string=hai) anos
pai
achega
4b3f400ffc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);