summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorZach Copley <zach@controlyourself.ca>2009-09-15 14:40:57 -0700
committerZach Copley <zach@controlyourself.ca>2009-09-15 14:40:57 -0700
commit44af6a9bb456c597b5a8feb167ab8d71d71dd0c7 (patch)
tree32857c3b92e47fd4c4fbd2e603dae36c31345b50 /plugins
parentd2bf5761225835470d2dcc80fdba2149d1ed51cd (diff)
parentd7e13e847dbce55ad8ed017f02e1ac8420881e4e (diff)
Merge branch '0.8.x' of git@gitorious.org:statusnet/mainline into 0.8.x
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Autocomplete/autocomplete.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Autocomplete/autocomplete.php b/plugins/Autocomplete/autocomplete.php
index 96d54af8d..4379a86f2 100644
--- a/plugins/Autocomplete/autocomplete.php
+++ b/plugins/Autocomplete/autocomplete.php
@@ -62,7 +62,7 @@ class AutocompleteAction extends Action
$user->whereAdd('nickname like \'' . trim($user->escape($q), '\'') . '%\'');
$user->find();
while($user->fetch()) {
- $profile = Profile::pkeyGet(array('id' => $user->id));
+ $profile = Profile::staticGet($user->id);
$this->results[]=array('nickname' => $user->nickname, 'fullname'=> $profile->fullname, 'type'=>'user');
}
}