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 830862ff8..46ab5c705 100755
--- a/httemplate/edit/agent.cgi
+++ b/httemplate/edit/agent.cgi
@@ -2,11 +2,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="<% $agent->agentnum %>">