aboutsummaryrefslogtreecommitdiff
path: root/mod/notifications/actions/groupsave.php
diff options
context:
space:
mode:
authorSteve Clay <steve@mrclay.org>2013-02-02 18:31:12 -0800
committerSteve Clay <steve@mrclay.org>2013-02-02 18:31:12 -0800
commit2cd87bb4ecf6df7b3aea9189cf1933ac3a78038c (patch)
tree26fff564142315496f9956f40daebe056d812794 /mod/notifications/actions/groupsave.php
parentb809dee488be374f248763741a5e1429219fe988 (diff)
parentf8bee7421d1c3880ba7acb3f8fd16042d598a95f (diff)
downloadelgg-2cd87bb4ecf6df7b3aea9189cf1933ac3a78038c.tar.gz
elgg-2cd87bb4ecf6df7b3aea9189cf1933ac3a78038c.tar.bz2
Merge pull request #398 from jeabakker/#4880
#4880 - incorrect usage of elgg_get_entities_* parameters
Diffstat (limited to 'mod/notifications/actions/groupsave.php')
-rw-r--r--mod/notifications/actions/groupsave.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/notifications/actions/groupsave.php b/mod/notifications/actions/groupsave.php
index 2dd2a6db3..e79dae5cc 100644
--- a/mod/notifications/actions/groupsave.php
+++ b/mod/notifications/actions/groupsave.php
@@ -21,8 +21,8 @@ $groups = array();
$options = array(
'relationship' => 'member',
'relationship_guid' => $user->guid,
- 'types' => 'group',
- 'limit' => 9999,
+ 'type' => 'group',
+ 'limit' => false,
);
if ($groupmemberships = elgg_get_entities_from_relationship($options)) {
foreach($groupmemberships as $groupmembership) {