Fixed errorpage, fallout from RT#37340 commit cb6214a6
authorJonathan Prykop <jonathan@freeside.biz>
Thu, 5 May 2016 23:45:11 +0000 (18:45 -0500)
committerJonathan Prykop <jonathan@freeside.biz>
Thu, 5 May 2016 23:45:11 +0000 (18:45 -0500)
httemplate/elements/errorpage.html

index 7d66e7c..d001bfa 100644 (file)
@@ -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();