Index: cancel
===================================================================
--- cancel	(revision 2023)
+++ cancel	(working copy)
@@ -135,7 +135,7 @@
   #-----------------------------------------------------------------------
   # remove event from web database
   #-----------------------------------------------------------------------
-  $dbh->do("delete from earthquake where evid=$evid")
+  $dbh->do("delete from earthquake where evid='$evid'")
 		or Print "Error deleting old event id";
 
   #-----------------------------------------------------------------------
