diff options
author | Brion Vibber <brion@pobox.com> | 2010-03-24 14:11:01 -0700 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-03-24 14:11:01 -0700 |
commit | c3ceaa893fa878d531b0af05a3a8ed367177848c (patch) | |
tree | 69373ab2bbdb6dd516487752efd8889eeed8b31e /lib/command.php | |
parent | 886e28aaa9e4e9a524d5b1a933a2d2a13994aec9 (diff) | |
parent | ecb009bcf5a6893b90d153be18c423dd7377796d (diff) |
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 1.0.x
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 c2116828c..084c61fd1 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.')); |