users/edit-alias.php:

- another fix for fForward_and_store on validation errors


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@914 a1433add-5e2c-0410-b055-b7f2511e0802
pull/2/head
Christian Boltz 14 years ago
parent da3ef2e1c0
commit f6cb87eb6e

@ -126,7 +126,11 @@ if ($_SERVER['REQUEST_METHOD'] == "POST")
}
$smarty->assign ('tMessage', $tMessage, false);
$smarty->assign ('tGotoArray', $tGotoArray);
($fStoreAndForward) ? $smarty->assign ('forward_and_store', ' checked="checked"') : $smarty->assign ('forward_only', ' checked="checked"');
if ($fForward_and_store == "YES") {
$smarty->assign ('forward_and_store', ' checked="checked"');
} else {
$smarty->assign ('forward_only', ' checked="checked"');
}
$smarty->display ('index.tpl');
}

Loading…
Cancel
Save