]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/peopletagautocomplete.php
Merge branch 'master' into testing
[quix0rs-gnu-social.git] / actions / peopletagautocomplete.php
index d4ecb34e4fd6d5809429683336296317d5c36c36..5b6ae57a5393229126f5634e1994709021a1ada1 100644 (file)
@@ -70,7 +70,7 @@ class PeopletagautocompleteAction extends Action
         }
 
         $profile = $this->user->getProfile();
-        $tags = $profile->getOwnedTags(common_current_user());
+        $tags = $profile->getLists(common_current_user());
 
         $this->tags = array();
         while ($tags->fetch()) {
@@ -88,7 +88,7 @@ class PeopletagautocompleteAction extends Action
             $this->tags[] = $arr;
         }
 
-        $tags->free();
+        $tags = NULL;
 
         return true;
     }