* API: fixed broken configuration, causing eg. ActiveDirectory or LDAP authentication to fail (you need to run Setup >> Clear cache!)

all config vars with names starting with an "a" were returning false instead there correct value
This commit is contained in:
Ralf Becker 2014-07-12 08:51:31 +00:00
parent 2dd0625ebe
commit 6b0ed9111f

View File

@ -309,7 +309,7 @@ class config
return json_decode($str, true);
}
// handling of not serialized strings
if ($str[0] != 'a' && $str[1] != ':')
if ($str[0] != 'a' || $str[1] != ':')
{
return $str;
}