aboutsummaryrefslogtreecommitdiff
path: root/mod/file/pages
diff options
context:
space:
mode:
authorJerome Bakker <jeabakker@coldtrick.com>2012-10-03 14:11:41 +0200
committerJerome Bakker <jeabakker@coldtrick.com>2012-10-03 14:11:41 +0200
commite33d1eba6a158699174de2747de6d6e654c03407 (patch)
treee2b7129e3140238b13922552247eaa57f3639e89 /mod/file/pages
parent949a3f0c2ea1804577ff69d92f811ced71a79976 (diff)
downloadelgg-e33d1eba6a158699174de2747de6d6e654c03407.tar.gz
elgg-e33d1eba6a158699174de2747de6d6e654c03407.tar.bz2
correct singual usage of subtype in elgg_get_entities_* functions
Diffstat (limited to 'mod/file/pages')
-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 1409a404e..d7f057f2a 100644
--- a/mod/file/pages/file/owner.php
+++ b/mod/file/pages/file/owner.php
@@ -37,7 +37,7 @@ $title = elgg_echo("file:user", array($owner->name));
// List files
$content = elgg_list_entities(array(
'type' => 'object',
- 'subtypes' => 'file',
+ 'subtype' => 'file',
'container_guid' => $owner->guid,
'limit' => 10,
'full_view' => FALSE,
diff --git a/mod/file/pages/file/search.php b/mod/file/pages/file/search.php
index 35f8a7db7..d60dfb755 100644
--- a/mod/file/pages/file/search.php
+++ b/mod/file/pages/file/search.php
@@ -75,7 +75,7 @@ if ($listtype == "gallery") {
$params = array(
'type' => 'object',
- 'subtypes' => 'file',
+ 'subtype' => 'file',
'container_guid' => $page_owner_guid,
'limit' => $limit,
'full_view' => false,
diff --git a/mod/file/pages/file/world.php b/mod/file/pages/file/world.php
index 8cf8ad138..8e6c87f26 100644
--- a/mod/file/pages/file/world.php
+++ b/mod/file/pages/file/world.php
@@ -15,7 +15,7 @@ $title = elgg_echo('file:all');
$content = elgg_list_entities(array(
'type' => 'object',
- 'subtypes' => 'file',
+ 'subtype' => 'file',
'limit' => $limit,
'full_view' => FALSE
));