Merge branch 'master' into testing
This commit is contained in:
commit
9948523c33
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user