diff options
author | Brion Vibber <brion@pobox.com> | 2010-03-02 15:16:48 -0800 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-03-02 15:16:48 -0800 |
commit | 8e06b932af93b8fbd66610c948bdde4fafd4f300 (patch) | |
tree | 07b772b280e6f23761c0111d953b3c2f5b8d2120 /actions/favor.php | |
parent | 453ad6a9964fe572f0f35821e3f78c6a77c57c49 (diff) | |
parent | ddf3614c843bcd8d9ecfd0850ac9a8cefae6dbba (diff) |
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Diffstat (limited to 'actions/favor.php')
-rw-r--r-- | actions/favor.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/favor.php b/actions/favor.php index 2aeb1da61..afca9768a 100644 --- a/actions/favor.php +++ b/actions/favor.php @@ -79,7 +79,7 @@ class FavorAction extends Action $this->clientError(_('This notice is already a favorite!')); return; } - $fave = Fave::addNew($user, $notice); + $fave = Fave::addNew($user->getProfile(), $notice); if (!$fave) { $this->serverError(_('Could not create favorite.')); return; |