diff --git a/include/Core/Config.php b/include/Core/Config.php index 2f99c1aec4..e82094417f 100644 --- a/include/Core/Config.php +++ b/include/Core/Config.php @@ -126,7 +126,7 @@ class Config { public static function set($family, $key, $value) { global $a; - if (self::get($family, $key) === $value) { + if (self::get($family, $key) == $value) { return true; } diff --git a/include/Core/PConfig.php b/include/Core/PConfig.php index 4523045f60..172a83e91d 100644 --- a/include/Core/PConfig.php +++ b/include/Core/PConfig.php @@ -123,7 +123,7 @@ class PConfig { global $a; - if (self::get($uid, $family, $key) === $value) { + if (self::get($uid, $family, $key) == $value) { return true; }