mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2026-11-20 23:43:26 +03:00
users/edit-alias.php:
- fix undefined smarty variables git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1150 a1433add-5e2c-0410-b055-b7f2511e0802
This commit is contained in:
1 parent
8f2a3f00ad
commit
b26012ca18
1 file changed
+9
-1
@@ -51,7 +51,13 @@ $vacation_domain = $CONF['vacation_domain'];
|
||||
|
||||
if ($_SERVER['REQUEST_METHOD'] == "GET")
|
||||
{
|
||||
($tStoreAndForward) ? $smarty->assign ('forward_and_store', ' checked="checked"') : $smarty->assign ('forward_only', ' checked="checked"');
|
||||
if ($tStoreAndForward) {
|
||||
$smarty->assign ('forward_and_store', ' checked="checked"');
|
||||
$smarty->assign ('forward_only', '');
|
||||
} else {
|
||||
$smarty->assign ('forward_and_store', '');
|
||||
$smarty->assign ('forward_only', ' checked="checked"');
|
||||
}
|
||||
|
||||
$smarty->assign ('tGotoArray', $tGotoArray);
|
||||
$smarty->display ('index.tpl');
|
||||
@@ -124,7 +130,9 @@ if ($_SERVER['REQUEST_METHOD'] == "POST")
|
||||
$smarty->assign ('tGotoArray', $tGotoArray);
|
||||
if ($fForward_and_store == "YES") {
|
||||
$smarty->assign ('forward_and_store', ' checked="checked"');
|
||||
$smarty->assign ('forward_only', '');
|
||||
} else {
|
||||
$smarty->assign ('forward_and_store', '');
|
||||
$smarty->assign ('forward_only', ' checked="checked"');
|
||||
}
|
||||
$smarty->display ('index.tpl');
|
||||
|
||||
Reference in new issue
Block a user