r1487: Forgot to remove the "value" in the forach() loop in api_user.php in verify_gr...
authorRobert Sesek <rsesek@bluestatic.org>
Sun, 18 Mar 2007 01:45:23 +0000 (01:45 +0000)
committerRobert Sesek <rsesek@bluestatic.org>
Sun, 18 Mar 2007 01:45:23 +0000 (01:45 +0000)
includes/api_user.php

index 872e371350cce6944ac8098d9e44f90ebd99d6a2..01737c04f6f94dd2b461a49819dc32feb64fc8e5 100644 (file)
@@ -205,7 +205,7 @@ class UserAPI extends API
                }
                $groups = $this->registry->funct->array_strip_empty($groups);
                
-               foreach ($groups AS $group => $value)
+               foreach ($groups AS $group)
                {
                        if (!isset($this->registry->datastore['usergroup']["$group"]))
                        {