From 014accd1fd4d4ab4befa0b11b77daa99e1b4a34d Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 22 Jan 2009 16:05:00 +0100 Subject: [PATCH] unbreak user editor (one more time) --- modules/pref-users.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/modules/pref-users.php b/modules/pref-users.php index cb2f3e03a..79e187885 100644 --- a/modules/pref-users.php +++ b/modules/pref-users.php @@ -158,8 +158,14 @@ print __('Access level: ') . " "; - print_select_hash("access_level", $access_level, $access_level_names, - $sel_disabled); + if (!$sel_disabled) { + print_select_hash("access_level", $access_level, $access_level_names, + $sel_disabled); + } else { + print_select_hash("", $access_level, $access_level_names, + $sel_disabled); + print ""; + } print "
";