From: Evan Prodromou Date: Tue, 29 Mar 2011 16:12:08 +0000 (-0400) Subject: Repeats keep the same scope as parent X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=31fd4dbe3b45e481f273f3e6333e4ef8e728dccd;p=quix0rs-gnu-social.git Repeats keep the same scope as parent --- diff --git a/classes/Notice.php b/classes/Notice.php index a6e4566e4b..b5eafb0ffa 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -1588,8 +1588,13 @@ class Notice extends Memcached_DataObject $content = mb_substr($content, 0, $maxlen - 4) . ' ...'; } - return self::saveNew($repeater_id, $content, $source, - array('repeat_of' => $this->id)); + // Scope is same as this one's + + return self::saveNew($repeater_id, + $content, + $source, + array('repeat_of' => $this->id, + 'scope' => $this->scope)); } // These are supposed to be in chron order!