[Asterisk-cvs] astcc astcc-admin.cgi,1.3,1.4

markster at lists.digium.com markster at lists.digium.com
Mon Jul 26 23:29:14 CDT 2004


Update of /usr/cvsroot/astcc
In directory localhost.localdomain:/tmp/cvs-serv8701

Modified Files:
	astcc-admin.cgi 
Log Message:
John's first patch to astcc!


Index: astcc-admin.cgi
===================================================================
RCS file: /usr/cvsroot/astcc/astcc-admin.cgi,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- astcc-admin.cgi	14 Jul 2004 03:22:27 -0000	1.3
+++ astcc-admin.cgi	27 Jul 2004 03:15:19 -0000	1.4
@@ -553,7 +553,7 @@
 	# Find what we're editing if anything
 	#
 	if (param("action") eq "Yes, drop it") {
-		if ($dbh->do("DELETE FROM routes WHERE name = " . $dbh->quote(param('dropitem')))) {
+		if ($dbh->do("DELETE FROM routes WHERE pattern = " . $dbh->quote(param('dropitem')))) {
 			$status = "Dropped route '" . param('dropitem') . "'.";
 		} else {
 			$status = "Unable to drop route '" . param('dropitem') . "'.";




More information about the svn-commits mailing list