summaryrefslogtreecommitdiff
path: root/inc/html.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/html.php')
-rw-r--r--inc/html.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/html.php b/inc/html.php
index 320bfcf67..fc99dfadb 100644
--- a/inc/html.php
+++ b/inc/html.php
@@ -1048,7 +1048,8 @@ function html_edit($text=null,$include='edit'){ //FIXME: include needed?
}
}else{
//try to load a pagetemplate
- $text = trigger_event('HTML_EDIT_PAGETEMPLATE',array($ID),'pageTemplate',true);
+ $data = array($ID);
+ $text = trigger_event('HTML_EDIT_PAGETEMPLATE',$data,'pageTemplate',true);
}
}else{
$pr = true; //preview mode