Commit 31fd4dbe authored by Evan Prodromou's avatar Evan Prodromou

Repeats keep the same scope as parent

parent 32145484
...@@ -1588,8 +1588,13 @@ class Notice extends Memcached_DataObject ...@@ -1588,8 +1588,13 @@ class Notice extends Memcached_DataObject
$content = mb_substr($content, 0, $maxlen - 4) . ' ...'; $content = mb_substr($content, 0, $maxlen - 4) . ' ...';
} }
return self::saveNew($repeater_id, $content, $source, // Scope is same as this one's
array('repeat_of' => $this->id));
return self::saveNew($repeater_id,
$content,
$source,
array('repeat_of' => $this->id,
'scope' => $this->scope));
} }
// These are supposed to be in chron order! // These are supposed to be in chron order!
......
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