diff options
author | Brion Vibber <brion@pobox.com> | 2010-03-23 11:06:37 -0700 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-03-23 11:08:30 -0700 |
commit | 44caa3a93f452777c795006edb52ef4c5c2c4997 (patch) | |
tree | 633cd4537a35c6185c403b991ba132756bbba763 /actions | |
parent | 80b16c8499d0cfdb4deb442ba18345befed4e29d (diff) |
Consistently send Profiles into Fave::addNew()
Diffstat (limited to 'actions')
-rw-r--r-- | actions/apifavoritecreate.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/apifavoritecreate.php b/actions/apifavoritecreate.php index 3618f9401..00b6349b0 100644 --- a/actions/apifavoritecreate.php +++ b/actions/apifavoritecreate.php @@ -123,7 +123,7 @@ class ApiFavoriteCreateAction extends ApiAuthAction return; } - $fave = Fave::addNew($this->user, $this->notice); + $fave = Fave::addNew($this->user->getProfile(), $this->notice); if (empty($fave)) { $this->clientError( |