fix regular expression to be more accurate

This commit is contained in:
Jordi Sanfeliu 2014-02-20 08:58:24 +01:00
parent 6de50bed3c
commit dd87652a25
1 changed files with 1 additions and 1 deletions

View File

@ -428,7 +428,7 @@ if($mode eq "localhost") {
next;
}
if($graph eq "all" || $graph =~ /_$g/) {
if($graph eq "all" || $graph =~ m/^_$g\d+/) {
no strict "refs";
&$cgi($g, \%config, \%cgi);
}