Explorar el Código

* Removed a warning

Tyler Akins hace 24 años
padre
commit
4b3f400ffc
Se han modificado 1 ficheros con 1 adiciones y 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);