From: Jeffery To Date: Fri, 12 Jun 2009 11:38:04 +0000 (+0800) Subject: Fix "Undefined property: DisfavorAction::$id" X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3a59199040a4360b279c6c51700b74a643bbaf51;p=quix0rs-gnu-social.git Fix "Undefined property: DisfavorAction::$id" --- diff --git a/actions/disfavor.php b/actions/disfavor.php index bc13b09da5..4064a0d988 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!'));