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
pull/2/head
Christian Boltz 11 years ago
parent 4d9a338eb2
commit ff5dbe0099

@ -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;

Loading…
Cancel
Save