Settings save: Switch from strict to fuzzy comparison

This commit is contained in:
Hypolite Petovan 2016-10-21 23:23:44 -04:00
parent 9a59878190
commit f9d713b228
2 changed files with 2 additions and 2 deletions

View file

@ -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;
}

View file

@ -123,7 +123,7 @@ class PConfig {
global $a;
if (self::get($uid, $family, $key) === $value) {
if (self::get($uid, $family, $key) == $value) {
return true;
}