mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 08:40:24 +00:00
Show security tab if it was selected before
This commit is contained in:
@@ -25,7 +25,7 @@ $in{'mode'} ||= 'updates';
|
||||
# Show mode selector (all, updates only, updates and new)
|
||||
@grid = ( );
|
||||
foreach $m ('current', 'updates', 'new',
|
||||
$sec ? ( 'security' ) : ( )) {
|
||||
$sec || $in{'mode'} eq 'security' ? ( 'security' ) : ( )) {
|
||||
$mmsg = $text{'index_mode_'.$m};
|
||||
if ($in{'mode'} eq $m) {
|
||||
push(@mlinks, "<b>$mmsg</b>");
|
||||
|
||||
Reference in New Issue
Block a user