]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Fixed regression in deprecated list_entities_from_access_id -- was passing access_id...
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>
Wed, 3 Nov 2010 02:54:38 +0000 (02:54 +0000)
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>
Wed, 3 Nov 2010 02:54:38 +0000 (02:54 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@7216 36083f99-b078-4883-b0ff-0f9b5a30f544

engine/lib/access.php

index 78f933b27514e49d2cbf3f23a4af7deff1f65da0..dd69d21684be37c1fad37f710cfe64afb9588355 100644 (file)
@@ -858,13 +858,13 @@ function elgg_list_entities_from_access_id(array $options = array()) {
  * @return str
  * @deprecated 1.8 Use elgg_list_entities_from_access_id()
  */
-function list_entities_from_access_id($collection_id, $entity_type = "", $entity_subtype = "",
+function list_entities_from_access_id($access_id, $entity_type = "", $entity_subtype = "",
        $owner_guid = 0, $limit = 10, $fullview = true, $viewtypetoggle = true, $pagination = true) {
                
        elgg_deprecated_notice("All list_entities* functions were deprecated in 1.8.  Use elgg_list_entities* instead.", 1.8);
                
        echo elgg_list_entities_from_access_id(array(
-               'collection_id' => $collection_id,
+               'access_id' => $collection_id,
                'types' => $entity_type,
                'subtypes' => $entity_subtype,
                'owner_guids' => $owner_guid,