From 814b89baf3f8aae38dfc8a3cb22f0e281a66aa4a Mon Sep 17 00:00:00 2001 From: Christian Boltz Date: Mon, 25 Jul 2011 22:59:39 +0000 Subject: [PATCH] list-domain.php: - only put current username in dropdown for domain admins (instead of a list of domains, which didn't work at this place and was different to the superadmin behaviour) The issue was reported before by Dale in https://sourceforge.net/tracker/?func=detail&aid=3305307&group_id=191583&atid=937964 Nice to see that he fixed one of his bugreports himself ;-) And *drum roll* it is also the _last part_ of Dale's huge cleanup patch :-) and the last time you'll see the following footer in a commit message: This commit is part of the huge cleanup patch by Dale Blount (lnxus@SF), https://sourceforge.net/tracker/?func=detail&atid=937966&aid=3370510&group_id=191583 git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1128 a1433add-5e2c-0410-b055-b7f2511e0802 --- list-domain.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/list-domain.php b/list-domain.php index 150e77b5..8d0dd209 100644 --- a/list-domain.php +++ b/list-domain.php @@ -116,7 +116,7 @@ if ($is_superadmin) } else { - $smarty->assign ('select_options', select_options ($list_domains, array ($_GET['domain']))); + $smarty->assign ('select_options', select_options($list_admins, array ($fUsername)), false); $smarty->assign ('smarty_template', 'overview-get'); }