Aaaaaalmost :) But no - it's not correct. Correct would be:
return elgg_view_entity_list($entities, array(
'count' => $count,
'offset' => $offset,
'limit' => $limit,
'full_view' => $full_view,
'list_type_toggle' => $listtypetoggle,
'pagination' => $pagination,
));
But.. dont try to fix it yourself - try to avoid manipulation of the core files - it's better to report the issue on http://trac.elgg.org/
Thanks 13net,
Definition of function is:
function elgg_view_entity_list($entities, $vars = array(), $offset = 0, $limit = 10, $full_view = true,
$list_type_toggle = true, $pagination = true) {
So I think you wanted to say:
return elgg_view_entity_list($entities, array('count' => $count), $offset, $limit, $full_view, $listtypetoggle, $pagination);
also works well.
I will try to report the issue on http://trac.elgg.org/
Thanks.
Hi Alexgon,
I'm also experiencing this issue... has it been reported and fixed? I only installed Elgg today for the first time. I'm very impressed :)
Thanks,
Rob
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.