user is a protected property in UAS/AtomUserNoticeFeed
The bug made it impossible to backup with Favorite ;) Thanks postblue for reporting.
This commit is contained in:
parent
9f87359d04
commit
99b1a6f576
|
@ -353,7 +353,7 @@ class FavoritePlugin extends ActivityHandlerPlugin
|
|||
{
|
||||
$faves = array();
|
||||
$fave = new Fave();
|
||||
$fave->user_id = $uas->user->id;
|
||||
$fave->user_id = $uas->getUser()->id;
|
||||
|
||||
if (!empty($uas->after)) {
|
||||
$fave->whereAdd("modified > '" . common_sql_date($uas->after) . "'");
|
||||
|
|
Loading…
Reference in New Issue
Block a user