Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Regex bugfix
Avoid "Use of uninitialized value in pattern match" warning
  • Loading branch information
jamiemccarthy committed May 2, 2008
1 parent 5163dfe commit cf5866d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Slash/Utility/Environment/Environment.pm
Expand Up @@ -1958,7 +1958,7 @@ sub filter_param {
$special{$key}->($data); $special{$key}->($data);
} else { } else {
for my $ri (@regints) { for my $ri (@regints) {
$data = fixint($data) if /$ri/; $data = fixint($data) if $key =~ /$ri/;
} }
} }
Expand Down

0 comments on commit cf5866d

Please sign in to comment.