diff --git a/helper/actiontemplate.php b/helper/actiontemplate.php index 91a4a21..e8c2abc 100644 --- a/helper/actiontemplate.php +++ b/helper/actiontemplate.php @@ -104,7 +104,12 @@ function getAdditionalTargetpages($fields) { //target $relativetargetpage = $field->getParam('page_tgt'); resolve_pageid($ns, $relativeTargetPageid, $ignored); - $targetpage = "$this->pagename:$relativetargetpage"; + + if (substr($relativetargetpage, 0, 1) != ":") { + $targetpage = "$this->pagename:$relativetargetpage"; + } else { + $targetpage = $relativetargetpage; + } $auth = $this->aclcheck($templatepage); // runas if ($auth >= AUTH_READ ) {