From 31fd4dbe3b45e481f273f3e6333e4ef8e728dccd Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Tue, 29 Mar 2011 12:12:08 -0400 Subject: [PATCH] Repeats keep the same scope as parent --- classes/Notice.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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! -- 2.39.5