summaryrefslogtreecommitdiff
path: root/actions/disfavor.php
diff options
context:
space:
mode:
authorZach Copley <zach@controlyourself.ca>2009-06-30 16:25:52 -0700
committerZach Copley <zach@controlyourself.ca>2009-06-30 16:25:52 -0700
commitccbc5c447df5a5284b8845d9a53f28d17d8df875 (patch)
treeed45e1f842768e7993aff857a9edf5a36541f562 /actions/disfavor.php
parentb10dba27982a94d73fb7f8d70cae611241871706 (diff)
parent612a107e09619b92d4614e2f3076ddca5c65824c (diff)
Merge commit 'jeff-themovie/small-fixes' into 0.8.x
* commit 'jeff-themovie/small-fixes': Fix missing max_id in API search calls Fix "Trying to get property of non-object" errors when a user tries to log in using an unknown nickname Fix "Trying to get property of non-object" errors when accessing the people search results page Fix "Undefined variable: cnt" Fix "Trying to get property of non-object" errors in groupeditform.php Fix "Undefined property: DisfavorAction::$id"
Diffstat (limited to 'actions/disfavor.php')
-rw-r--r--actions/disfavor.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/disfavor.php b/actions/disfavor.php
index 740f7de93..02e01d6e0 100644
--- a/actions/disfavor.php
+++ b/actions/disfavor.php
@@ -75,7 +75,7 @@ class DisfavorAction extends Action
return;
}
$fave = new Fave();
- $fave->user_id = $this->id;
+ $fave->user_id = $user->id;
$fave->notice_id = $notice->id;
if (!$fave->find(true)) {
$this->clientError(_('This notice is not a favorite!'));