summaryrefslogtreecommitdiffstats
path: root/editflagtypes.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'editflagtypes.cgi')
-rwxr-xr-xeditflagtypes.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/editflagtypes.cgi b/editflagtypes.cgi
index bb1b86ec0..d0d33951f 100755
--- a/editflagtypes.cgi
+++ b/editflagtypes.cgi
@@ -74,7 +74,7 @@ elsif ($action eq 'edit') { edit(); }
elsif ($action eq 'insert') { insert(); }
elsif ($action eq 'update') { update(); }
elsif ($action eq 'confirmdelete') { confirmDelete(); }
-elsif ($action eq 'delete') { &delete(); }
+elsif ($action eq 'delete') { deleteType(); }
elsif ($action eq 'deactivate') { deactivate(); }
else {
ThrowCodeError("action_unrecognized", { action => $action });
@@ -362,7 +362,7 @@ sub confirmDelete
}
-sub delete {
+sub deleteType {
validateID();
SendSQL("LOCK TABLES flagtypes WRITE, flags WRITE, " .