From f6cb87eb6eff2474d384ebe17344382fc60861e5 Mon Sep 17 00:00:00 2001 From: Christian Boltz Date: Sun, 26 Dec 2010 19:37:27 +0000 Subject: [PATCH] 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 --- users/edit-alias.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/users/edit-alias.php b/users/edit-alias.php index 1c9a4fd0..3845e3ab 100644 --- a/users/edit-alias.php +++ b/users/edit-alias.php @@ -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'); }