From 66a1d63dd0c9b097ea554709ca50a814368146d6 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Sat, 3 Oct 2015 13:24:31 +0200 Subject: [PATCH] if is_local was not provided to Notice:saveActivity it wouldn't be set --- classes/Notice.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/classes/Notice.php b/classes/Notice.php index 8f98abd306..fe42c074a0 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -798,6 +798,8 @@ class Notice extends Managed_DataObject if (!$actor->hasRight(Right::PUBLICNOTICE) || ($source && $autosource && in_array($source, $autosource))) { $stored->is_local = Notice::LOCAL_NONPUBLIC; + } else { + $notice->is_local = $is_local; } // Maybe a missing act-time should be fatal if the actor is not local?