aboutsummaryrefslogtreecommitdiff
path: root/admin/user/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/user/index.php')
-rw-r--r--admin/user/index.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/admin/user/index.php b/admin/user/index.php
index 09906fdf6..cd2b68d52 100644
--- a/admin/user/index.php
+++ b/admin/user/index.php
@@ -30,12 +30,13 @@
$count = search_for_user($search, $limit, $offset, "",true);
$result = elgg_view_entity_list($entities, $count, $offset, $limit, false);
- } else
+ } else {
$result = list_entities_from_metadata("", $tag, "user", "",0, $limit, false);
+ }
// Display main admin menu
- page_draw(elgg_echo("admin:user"),elgg_view_layout("one_column", elgg_view("admin/user", array('list' => $result))));
+ page_draw(elgg_echo("admin:user"),elgg_view_layout("one_column", elgg_view("admin/user") . $result));
set_context($context);
?> \ No newline at end of file