edit_user.php
changeset 184 b60b88b1ae08
parent 126 cb06e3e29ed8
child 195 5ac118d6556c
--- a/edit_user.php	Fri Jul 11 07:44:10 2008 +0000
+++ b/edit_user.php	Fri Jul 11 08:02:01 2008 +0000
@@ -34,7 +34,7 @@
 	error(ERR_INV_INPUT);
 } elseif (($edit_id == $_SESSION["userid"] && $perm_edit_own == "1") || ($edit_id != $_SESSION["userid"] && $perm_edit_others == "1" )) {
 
-	if($_POST["commit"]) {
+	if(isset($_POST["commit"])) {
 
 		$i_username = "-1";
 		$i_fullname = "-1";