unbreak user editor (one more time)

This commit is contained in:
Andrew Dolgov 2009-01-22 16:05:00 +01:00
parent 8f4e59ec9e
commit 014accd1fd
1 changed files with 8 additions and 2 deletions

View File

@ -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 "<input type=\"hidden\" name=\"access_level\" value=\"$access_level\">";
}
print "<br/>";