git.gnu.io has moved to IP address 209.51.188.249 -- please double check where you are logging in.

Commit 9948523c authored by Evan Prodromou's avatar Evan Prodromou

Merge branch 'master' into testing

parents 5eba1030 4f86e05d
......@@ -1585,8 +1585,10 @@ class Notice extends Managed_DataObject
if (!empty($this->repeat_of)) {
$repeat = Notice::staticGet('id', $this->repeat_of);
$ctx->forwardID = $repeat->uri;
$ctx->forwardUrl = $repeat->bestUrl();
if (!empty($repeat)) {
$ctx->forwardID = $repeat->uri;
$ctx->forwardUrl = $repeat->bestUrl();
}
}
$act->context = $ctx;
......
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