Bugfixing PConfig
[friendica.git/.git] / src / Core / Config / ConfigCache.php
index d731853..b50ba3e 100644 (file)
@@ -121,7 +121,7 @@ class ConfigCache implements IConfigCache, IPConfigCache
 
                if (isset($this->config[$uid][$cat][$key])) {
                        $return = $this->config[$uid][$cat][$key];
-               } elseif ($key == null && isset($this->config[$uid][$cat])) {
+               } elseif ($key === null && isset($this->config[$uid][$cat])) {
                        $return = $this->config[$uid][$cat];
                }