diff options
author | Jeffery To <jeffery.to@gmail.com> | 2009-06-12 19:38:04 +0800 |
---|---|---|
committer | Jeffery To <jeffery.to@gmail.com> | 2009-06-12 19:38:04 +0800 |
commit | 3a59199040a4360b279c6c51700b74a643bbaf51 (patch) | |
tree | 2a41a08e4583a256ffbdbee9c8530b2f83cb7416 /actions/disfavor.php | |
parent | 806439758823e3fe6e51ec56ce653760902af2aa (diff) |
Fix "Undefined property: DisfavorAction::$id"
Diffstat (limited to 'actions/disfavor.php')
-rw-r--r-- | actions/disfavor.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/disfavor.php b/actions/disfavor.php index bc13b09da..4064a0d98 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!')); |