]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Fixed incorrect deprecated function rewrite for list_entities().
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>
Tue, 9 Mar 2010 19:26:56 +0000 (19:26 +0000)
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>
Tue, 9 Mar 2010 19:26:56 +0000 (19:26 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@5338 36083f99-b078-4883-b0ff-0f9b5a30f544

engine/lib/entities.php

index 3eabcafed49c43e2c42c09e4c2628b3ec24d9cd4..af5b140d9814265b34eff0eddece9cd5f76251c0 100644 (file)
@@ -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);