aboutsummaryrefslogtreecommitdiff
path: root/mod/notifications/views/default
diff options
context:
space:
mode:
authorJerome Bakker <jeabakker@coldtrick.com>2012-10-03 14:02:11 +0200
committerJerome Bakker <jeabakker@coldtrick.com>2012-10-03 14:02:11 +0200
commit949a3f0c2ea1804577ff69d92f811ced71a79976 (patch)
tree0817ea4d6a936fb3a6493c6ff34a06b6d3e691c7 /mod/notifications/views/default
parent766fe8ebbcc600982dddce4d93b15b65a7b8c1fb (diff)
downloadelgg-949a3f0c2ea1804577ff69d92f811ced71a79976.tar.gz
elgg-949a3f0c2ea1804577ff69d92f811ced71a79976.tar.bz2
correct singual usage of type in elgg_get_entities_* functions
Diffstat (limited to 'mod/notifications/views/default')
-rw-r--r--mod/notifications/views/default/forms/notificationsettings/groupsave.php2
-rw-r--r--mod/notifications/views/default/notifications/subscriptions/forminternals.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/mod/notifications/views/default/forms/notificationsettings/groupsave.php b/mod/notifications/views/default/forms/notificationsettings/groupsave.php
index 168639ab2..64db8f533 100644
--- a/mod/notifications/views/default/forms/notificationsettings/groupsave.php
+++ b/mod/notifications/views/default/forms/notificationsettings/groupsave.php
@@ -15,7 +15,7 @@ foreach ($NOTIFICATION_HANDLERS as $method => $foo) {
$subsbig[$method] = elgg_get_entities_from_relationship(array(
'relationship' => 'notify' . $method,
'relationship_guid' => $user->guid,
- 'types' => 'group',
+ 'type' => 'group',
'limit' => 99999,
));
$tmparray = array();
diff --git a/mod/notifications/views/default/notifications/subscriptions/forminternals.php b/mod/notifications/views/default/notifications/subscriptions/forminternals.php
index 11f266303..57fa62405 100644
--- a/mod/notifications/views/default/notifications/subscriptions/forminternals.php
+++ b/mod/notifications/views/default/notifications/subscriptions/forminternals.php
@@ -31,7 +31,7 @@ foreach($NOTIFICATION_HANDLERS as $method => $foo) {
$subsbig[$method] = elgg_get_entities_from_relationship(array(
'relationship' => 'notify' . $method,
'relationship_guid' => $user->guid,
- 'types' => 'user',
+ 'type' => 'user',
'limit' => 99999,
));
}