From 6b0ed9111f1235dee6aed7f950eecb60c4f8a50c Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sat, 12 Jul 2014 08:51:31 +0000 Subject: [PATCH] * 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 --- phpgwapi/inc/class.config.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.config.inc.php b/phpgwapi/inc/class.config.inc.php index a838a8db55..b90ca0efde 100755 --- a/phpgwapi/inc/class.config.inc.php +++ b/phpgwapi/inc/class.config.inc.php @@ -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; }