diff options
Diffstat (limited to 'engine')
-rw-r--r-- | engine/lib/entities.php | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/engine/lib/entities.php b/engine/lib/entities.php index 80c236ecc..0afe30a6e 100644 --- a/engine/lib/entities.php +++ b/engine/lib/entities.php @@ -2195,17 +2195,9 @@ function list_entities($type= "", $subtype = "", $owner_guid = 0, $limit = 10, $ $options['offset'] = $offset; } - if ($fullview) { - $options['full_view'] = $fullview; - } - - if ($viewtoggletype) { - $options['view_toggle_type'] = $viewtoggletype; - } - - if ($pagination) { - $options['pagination'] = $pagination; - } + $options['full_view'] = $fullview; + $options['view_toggle_type'] = $viewtoggletype; + $options['pagination'] = $pagination; return elgg_list_entities($options); } |