summaryrefslogtreecommitdiff
path: root/httemplate/elements
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2016-05-05 18:45:11 -0500
committerJonathan Prykop <jonathan@freeside.biz>2016-05-05 18:45:11 -0500
commitae6da3640abb4da924f77e4a474c7742f06e243a (patch)
treeaf6fdd320512a2c59a0ccd4b824f40216018a3a7 /httemplate/elements
parent7aaf4684beb1016f0f1b1bdb8eec9adc37a11dff (diff)
Fixed errorpage, fallout from RT#37340 commit cb6214a6
Diffstat (limited to 'httemplate/elements')
-rw-r--r--httemplate/elements/errorpage.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/elements/errorpage.html b/httemplate/elements/errorpage.html
index 7d66e7ce0..d001bfa89 100644
--- a/httemplate/elements/errorpage.html
+++ b/httemplate/elements/errorpage.html
@@ -1,10 +1,10 @@
-% my $error = shift;
+% my $error = $_[0];
% $m->notes('error', $error);
<& /elements/header.html, mt("Error") &>
% while (@_) {
-<P><FONT SIZE="+1" COLOR="#ff0000"><% $error |h %></FONT>
+<P><FONT SIZE="+1" COLOR="#ff0000"><% shift |h %></FONT>
%}
% $m->flush_buffer();