From: brettp Date: Tue, 9 Mar 2010 19:26:56 +0000 (+0000) Subject: Fixed incorrect deprecated function rewrite for list_entities(). X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=602abbf5ce303feb11a296a6bd3abc9b92368a41;p=lorea%2Felgg.git Fixed incorrect deprecated function rewrite for list_entities(). git-svn-id: http://code.elgg.org/elgg/trunk@5338 36083f99-b078-4883-b0ff-0f9b5a30f544 --- 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);