edit_record.php
changeset 185 6baa2f78d3fe
parent 140 e68c3d6094d1
--- a/edit_record.php	Fri Jul 11 08:02:01 2008 +0000
+++ b/edit_record.php	Fri Jul 11 08:59:07 2008 +0000
@@ -40,7 +40,7 @@
 $zone_type = get_domain_type($zid);
 $zone_name = get_zone_name_from_id($zid);
 
-if ($_POST["commit"]) {
+if (isset($_POST["commit"])) {
 	if ( $zone_type == "SLAVE" || $perm_content_edit == "none" || $perm_content_edit == "own" && $user_is_zone_owner == "0" ) {
 		error(ERR_PERM_EDIT_RECORD);
 	} else {