Skip to content

Commit

Permalink
Fix comparison operator
Browse files Browse the repository at this point in the history
  • Loading branch information
iliajie committed Oct 15, 2023
1 parent 8ba3c47 commit 947aaa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion navigation-lib.pl
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ sub nav_detector
$nav_def_tab = $prd_mb if ($nav_def_tab eq 'mail');

# If Dashboard mode is set
$nav_def_tab = $1 == $mod_vm ? $prd_vm : $prd_cm
$nav_def_tab = "$1" eq $mod_vm ? $prd_vm : $prd_cm
if ($page =~ /$page_sysinfo\?[\w]{3}\=($mod_vm|$mod_cm)/);

# Return detected tab and page
Expand Down

0 comments on commit 947aaa9

Please sign in to comment.