aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/privmsg.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/privmsg.php')
-rw-r--r--phpBB/privmsg.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/privmsg.php b/phpBB/privmsg.php
index f77f0abd7c..17f2636bdb 100644
--- a/phpBB/privmsg.php
+++ b/phpBB/privmsg.php
@@ -1293,7 +1293,7 @@ else if( $submit || $refresh || $mode != "" )
"L_PREVIEW" => $lang['Preview'],
"L_POSTED" => $lang['Posted'])
);
- $template->pparse("preview");
+ $template->assign_var_from_handle("POST_PREVIEW_BOX", "preview");
}
//
@@ -1307,7 +1307,7 @@ else if( $submit || $refresh || $mode != "" )
$template->assign_vars(array(
"ERROR_MESSAGE" => $error_msg)
);
- $template->pparse("reg_header");
+ $template->assign_var_from_handle("ERROR_BOX", "reg_header");
}
//
// End error handling