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'); }