forked from GNUsocial/gnu-social
Fix "Undefined property: DisfavorAction::$id"
This commit is contained in:
parent
8064397588
commit
3a59199040
@ -75,7 +75,7 @@ class DisfavorAction extends Action
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$fave = new Fave();
|
$fave = new Fave();
|
||||||
$fave->user_id = $this->id;
|
$fave->user_id = $user->id;
|
||||||
$fave->notice_id = $notice->id;
|
$fave->notice_id = $notice->id;
|
||||||
if (!$fave->find(true)) {
|
if (!$fave->find(true)) {
|
||||||
$this->clientError(_('This notice is not a favorite!'));
|
$this->clientError(_('This notice is not a favorite!'));
|
||||||
|
Loading…
Reference in New Issue
Block a user