* 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:53:12 +00:00
parent 597b0ff2e2
commit 007f2f75aa

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