summaryrefslogtreecommitdiff
path: root/modules/user/helpers/group.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/user/helpers/group.php')
-rw-r--r--modules/user/helpers/group.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/modules/user/helpers/group.php b/modules/user/helpers/group.php
index 2590c7d1..fbc5157d 100644
--- a/modules/user/helpers/group.php
+++ b/modules/user/helpers/group.php
@@ -82,7 +82,13 @@ class group_Core {
$group = ORM::factory("group");
foreach($filter as $method => $args) {
- $group->$method($args);
+ switch ($method) {
+ case "in":
+ $group->in($args[0], $args[1]);
+ break;
+ default:
+ $group->$method($args);
+ }
}
return $group->find_all();
}