diff options
author | Brion Vibber <brion@pobox.com> | 2010-03-23 12:13:32 -0700 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-03-23 12:13:32 -0700 |
commit | 7277b59734cf0e39c8c77e01b13e8d997533bacf (patch) | |
tree | 18bc14d3ead88c649328c8354a3690b1c2491260 /lib/command.php | |
parent | fcdbf421ab2bbbe4d1b601a8c80d4612c91f62fe (diff) | |
parent | 44caa3a93f452777c795006edb52ef4c5c2c4997 (diff) |
Merge branch 'master' of git@gitorious.org:statusnet/mainline into testing
Diffstat (limited to 'lib/command.php')
-rw-r--r-- | lib/command.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/command.php b/lib/command.php index f7421269d..216f9e649 100644 --- a/lib/command.php +++ b/lib/command.php @@ -273,7 +273,7 @@ class FavCommand extends Command function handle($channel) { $notice = $this->getNotice($this->other); - $fave = Fave::addNew($this->user, $notice); + $fave = Fave::addNew($this->user->getProfile(), $notice); if (!$fave) { $channel->error($this->user, _('Could not create favorite.')); |