Commit 99b1a6f5 authored by mmn's avatar mmn

user is a protected property in UAS/AtomUserNoticeFeed

The bug made it impossible to backup with Favorite ;)
Thanks postblue for reporting.
parent 9f87359d
......@@ -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) . "'");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment