From ff5dbe00996061be36ca98698b0af96fe1fa7c3f Mon Sep 17 00:00:00 2001 From: Christian Boltz Date: Sun, 13 Oct 2013 19:08:32 +0000 Subject: [PATCH] edit.php: - fix "undefined index hardcoded_edit" message (only set in AdminpasswordHandler) git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1537 a1433add-5e2c-0410-b055-b7f2511e0802 --- edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/edit.php b/edit.php index efc63163..ff2f7a60 100644 --- a/edit.php +++ b/edit.php @@ -119,7 +119,7 @@ if ($active != '') { } if ($_SERVER['REQUEST_METHOD'] == "POST" || $active != '') { - if ($formconf['hardcoded_edit']) { + if (isset($formconf['hardcoded_edit']) && $formconf['hardcoded_edit']) { $values[$id_field] = $form_fields[$id_field]['default']; } elseif ($edit != "") { $values[$id_field] = $edit;