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)) {
|
if (!empty($this->repeat_of)) {
|
||||||
$repeat = Notice::staticGet('id', $this->repeat_of);
|
$repeat = Notice::staticGet('id', $this->repeat_of);
|
||||||
$ctx->forwardID = $repeat->uri;
|
if (!empty($repeat)) {
|
||||||
$ctx->forwardUrl = $repeat->bestUrl();
|
$ctx->forwardID = $repeat->uri;
|
||||||
|
$ctx->forwardUrl = $repeat->bestUrl();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$act->context = $ctx;
|
$act->context = $ctx;
|
||||||
|
Loading…
Reference in New Issue
Block a user