summaryrefslogtreecommitdiff
path: root/httemplate/edit/agent.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/edit/agent.cgi')
-rwxr-xr-xhttemplate/edit/agent.cgi5
1 files changed, 1 insertions, 4 deletions
diff --git a/httemplate/edit/agent.cgi b/httemplate/edit/agent.cgi
index 5992bfae0..9ad18ea6f 100755
--- a/httemplate/edit/agent.cgi
+++ b/httemplate/edit/agent.cgi
@@ -24,11 +24,8 @@
'Main Menu' => $p,
'View all agents' => $p. 'browse/agent.cgi',
)) %>
-% if ( $cgi->param('error') ) {
-
-<FONT SIZE="+1" COLOR="#ff0000">Error: <% $cgi->param('error') %></FONT>
-% }
+<% include('/elements/error.html') %>
<FORM ACTION="<%popurl(1)%>process/agent.cgi" METHOD=POST>
<INPUT TYPE="hidden" NAME="agentnum" VALUE="<% $hashref->{agentnum} %>">