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 358a45c3c..0954b84aa 100644
--- a/engine/lib/entities.php
+++ b/engine/lib/entities.php
@@ -2195,7 +2195,7 @@ function list_entities($type= "", $subtype = "", $owner_guid = 0, $limit = 10, $
}
$options['full_view'] = $fullview;
- $options['view_toggle_type'] = $viewtoggletype;
+ $options['view_toggle_type'] = $viewtypetoggle;
$options['pagination'] = $pagination;
return elgg_list_entities($options);