aboutsummaryrefslogtreecommitdiff
path: root/mod/pages
diff options
context:
space:
mode:
authorSteve Clay <steve@mrclay.org>2013-02-02 18:31:12 -0800
committerSteve Clay <steve@mrclay.org>2013-02-02 18:31:12 -0800
commit2cd87bb4ecf6df7b3aea9189cf1933ac3a78038c (patch)
tree26fff564142315496f9956f40daebe056d812794 /mod/pages
parentb809dee488be374f248763741a5e1429219fe988 (diff)
parentf8bee7421d1c3880ba7acb3f8fd16042d598a95f (diff)
downloadelgg-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/pages')
-rw-r--r--mod/pages/pages/pages/owner.php4
-rw-r--r--mod/pages/pages/pages/world.php4
2 files changed, 4 insertions, 4 deletions
diff --git a/mod/pages/pages/pages/owner.php b/mod/pages/pages/pages/owner.php
index b29332ee1..48199368c 100644
--- a/mod/pages/pages/pages/owner.php
+++ b/mod/pages/pages/pages/owner.php
@@ -20,8 +20,8 @@ elgg_push_breadcrumb($owner->name);
elgg_register_title_button();
$content = elgg_list_entities(array(
- 'types' => 'object',
- 'subtypes' => 'page_top',
+ 'type' => 'object',
+ 'subtype' => 'page_top',
'container_guid' => elgg_get_page_owner_guid(),
'full_view' => false,
));
diff --git a/mod/pages/pages/pages/world.php b/mod/pages/pages/pages/world.php
index e6a705b6b..c130a6bd6 100644
--- a/mod/pages/pages/pages/world.php
+++ b/mod/pages/pages/pages/world.php
@@ -13,8 +13,8 @@ elgg_push_breadcrumb(elgg_echo('pages'));
elgg_register_title_button();
$content = elgg_list_entities(array(
- 'types' => 'object',
- 'subtypes' => 'page_top',
+ 'type' => 'object',
+ 'subtype' => 'page_top',
'full_view' => false,
));
if (!$content) {