diff options
author | Steve Clay <steve@mrclay.org> | 2013-02-02 18:31:12 -0800 |
---|---|---|
committer | Steve Clay <steve@mrclay.org> | 2013-02-02 18:31:12 -0800 |
commit | 2cd87bb4ecf6df7b3aea9189cf1933ac3a78038c (patch) | |
tree | 26fff564142315496f9956f40daebe056d812794 /mod/notifications/views | |
parent | b809dee488be374f248763741a5e1429219fe988 (diff) | |
parent | f8bee7421d1c3880ba7acb3f8fd16042d598a95f (diff) | |
download | elgg-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/views')
-rw-r--r-- | mod/notifications/views/default/forms/notificationsettings/groupsave.php | 4 | ||||
-rw-r--r-- | mod/notifications/views/default/notifications/subscriptions/forminternals.php | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/mod/notifications/views/default/forms/notificationsettings/groupsave.php b/mod/notifications/views/default/forms/notificationsettings/groupsave.php index 168639ab2..f3e5f693a 100644 --- a/mod/notifications/views/default/forms/notificationsettings/groupsave.php +++ b/mod/notifications/views/default/forms/notificationsettings/groupsave.php @@ -15,8 +15,8 @@ foreach ($NOTIFICATION_HANDLERS as $method => $foo) { $subsbig[$method] = elgg_get_entities_from_relationship(array( 'relationship' => 'notify' . $method, 'relationship_guid' => $user->guid, - 'types' => 'group', - 'limit' => 99999, + 'type' => 'group', + 'limit' => false, )); $tmparray = array(); if ($subsbig[$method]) { diff --git a/mod/notifications/views/default/notifications/subscriptions/forminternals.php b/mod/notifications/views/default/notifications/subscriptions/forminternals.php index 11f266303..79a7959ac 100644 --- a/mod/notifications/views/default/notifications/subscriptions/forminternals.php +++ b/mod/notifications/views/default/notifications/subscriptions/forminternals.php @@ -31,8 +31,8 @@ foreach($NOTIFICATION_HANDLERS as $method => $foo) { $subsbig[$method] = elgg_get_entities_from_relationship(array( 'relationship' => 'notify' . $method, 'relationship_guid' => $user->guid, - 'types' => 'user', - 'limit' => 99999, + 'type' => 'user', + 'limit' => false, )); } |