aboutsummaryrefslogtreecommitdiff
path: root/mod/file
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/file
parent766fe8ebbcc600982dddce4d93b15b65a7b8c1fb (diff)
downloadelgg-949a3f0c2ea1804577ff69d92f811ced71a79976.tar.gz
elgg-949a3f0c2ea1804577ff69d92f811ced71a79976.tar.bz2
correct singual usage of type in elgg_get_entities_* functions
Diffstat (limited to 'mod/file')
-rw-r--r--mod/file/pages/file/owner.php2
-rw-r--r--mod/file/pages/file/search.php2
-rw-r--r--mod/file/pages/file/world.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/mod/file/pages/file/owner.php b/mod/file/pages/file/owner.php
index fb87af1b2..1409a404e 100644
--- a/mod/file/pages/file/owner.php
+++ b/mod/file/pages/file/owner.php
@@ -36,7 +36,7 @@ $title = elgg_echo("file:user", array($owner->name));
// List files
$content = elgg_list_entities(array(
- 'types' => 'object',
+ 'type' => 'object',
'subtypes' => 'file',
'container_guid' => $owner->guid,
'limit' => 10,
diff --git a/mod/file/pages/file/search.php b/mod/file/pages/file/search.php
index 402a28933..35f8a7db7 100644
--- a/mod/file/pages/file/search.php
+++ b/mod/file/pages/file/search.php
@@ -74,7 +74,7 @@ if ($listtype == "gallery") {
}
$params = array(
- 'types' => 'object',
+ 'type' => 'object',
'subtypes' => 'file',
'container_guid' => $page_owner_guid,
'limit' => $limit,
diff --git a/mod/file/pages/file/world.php b/mod/file/pages/file/world.php
index 770dfd6e8..8cf8ad138 100644
--- a/mod/file/pages/file/world.php
+++ b/mod/file/pages/file/world.php
@@ -14,7 +14,7 @@ $limit = get_input("limit", 10);
$title = elgg_echo('file:all');
$content = elgg_list_entities(array(
- 'types' => 'object',
+ 'type' => 'object',
'subtypes' => 'file',
'limit' => $limit,
'full_view' => FALSE