delete_user.php
changeset 185 6baa2f78d3fe
parent 126 cb06e3e29ed8
--- a/delete_user.php	Fri Jul 11 08:02:01 2008 +0000
+++ b/delete_user.php	Fri Jul 11 08:59:07 2008 +0000
@@ -33,7 +33,7 @@
 	$uid = $_GET['id'];
 }
 
-if ($_POST['commit']) {
+if (isset($_POST['commit'])) {
 	if (delete_user($uid,$_POST['zone'])) {
 		success(SUC_USER_DEL);	
 	}