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/file/pages | |
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/file/pages')
-rw-r--r-- | mod/file/pages/file/owner.php | 4 | ||||
-rw-r--r-- | mod/file/pages/file/search.php | 4 | ||||
-rw-r--r-- | mod/file/pages/file/world.php | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/mod/file/pages/file/owner.php b/mod/file/pages/file/owner.php index fb87af1b2..d7f057f2a 100644 --- a/mod/file/pages/file/owner.php +++ b/mod/file/pages/file/owner.php @@ -36,8 +36,8 @@ $title = elgg_echo("file:user", array($owner->name)); // List files $content = elgg_list_entities(array( - 'types' => 'object', - 'subtypes' => 'file', + 'type' => 'object', + '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 402a28933..d60dfb755 100644 --- a/mod/file/pages/file/search.php +++ b/mod/file/pages/file/search.php @@ -74,8 +74,8 @@ if ($listtype == "gallery") { } $params = array( - 'types' => 'object', - 'subtypes' => 'file', + 'type' => 'object', + '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 770dfd6e8..8e6c87f26 100644 --- a/mod/file/pages/file/world.php +++ b/mod/file/pages/file/world.php @@ -14,8 +14,8 @@ $limit = get_input("limit", 10); $title = elgg_echo('file:all'); $content = elgg_list_entities(array( - 'types' => 'object', - 'subtypes' => 'file', + 'type' => 'object', + 'subtype' => 'file', 'limit' => $limit, 'full_view' => FALSE )); |