From d85e012596daa4bb1c87c6f9fb1363ae789cf9ec Mon Sep 17 00:00:00 2001 From: Thomas Bruederli Date: Thu, 7 Feb 2013 19:33:41 +0100 Subject: [PATCH] Adapt to recent changes in Roundcube core --- plugins/kolab_auth/kolab_auth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/kolab_auth/kolab_auth.php b/plugins/kolab_auth/kolab_auth.php index fc0158ba..719df98c 100644 --- a/plugins/kolab_auth/kolab_auth.php +++ b/plugins/kolab_auth/kolab_auth.php @@ -337,7 +337,7 @@ class kolab_auth extends rcube_plugin // check group if (!$isadmin && !empty($group)) { $groups = $ldap->get_record_groups($record['ID']); - foreach ($groups as $g) { + foreach ($groups as $g => $prop) { if ($group == rcube_ldap::dn_decode($g)) { $isadmin = true; break;