diff options
author | Evan Prodromou <evan@status.net> | 2010-03-25 13:50:49 -0400 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-03-25 13:50:49 -0400 |
commit | 920acf8d966a11b7c461c333b3a5d3c82d9c8d75 (patch) | |
tree | 396dc88352d080b5ac98f7785be18a81b7eb01e2 /actions/apifavoritecreate.php | |
parent | ad608ab9add1615d6aae3fde239e54d1eb36b0ca (diff) | |
parent | a954fd65ba00328cd1a76e620113d2f639340aaf (diff) |
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Diffstat (limited to 'actions/apifavoritecreate.php')
-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( |