aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engine/lib/entities.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/entities.php b/engine/lib/entities.php
index 3eabcafed..af5b140d9 100644
--- a/engine/lib/entities.php
+++ b/engine/lib/entities.php
@@ -2335,7 +2335,7 @@ function list_entities($type= "", $subtype = "", $owner_guid = 0, $limit = 10, $
}
$options['full_view'] = $fullview;
- $options['view_toggle_type'] = $viewtypetoggle;
+ $options['view_type_toggle'] = $viewtypetoggle;
$options['pagination'] = $pagination;
return elgg_list_entities($options);