summaryrefslogtreecommitdiff
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:50:19 -0500
commit118cae3df154e6c7e4bbbbc03efd518c9ef06646 (patch)
tree1d465b374e4f410276c9b5bf5650bd425962902e
parent88e0e89348227ca6d4acfefe5864d0c71085c86d (diff)
Fixed errorpage, fallout from RT#37340 commit cb6214a6
-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();