plugins/kolab_auth

Thomas Brüderli bruederli at kolabsys.com
Thu Feb 7 19:34:45 CET 2013


 plugins/kolab_auth/kolab_auth.php |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d85e012596daa4bb1c87c6f9fb1363ae789cf9ec
Author: Thomas Bruederli <bruederli at kolabsys.com>
Date:   Thu Feb 7 19:33:41 2013 +0100

    Adapt to recent changes in Roundcube core

diff --git a/plugins/kolab_auth/kolab_auth.php b/plugins/kolab_auth/kolab_auth.php
index fc0158b..719df98 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;





More information about the commits mailing list