Skip to content

Commit

Permalink
fix regex
Browse files Browse the repository at this point in the history
  • Loading branch information
pudge committed Apr 17, 2008
1 parent 10b7d7a commit 28988fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/Stats/Stats.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1354,7 +1354,7 @@ sub countDailyStoriesAccessRSS {
my $sid_hr = { };
my $regex_sid = regexSid();
for my $qs (keys %$qs_hr) {
my($sid) = $qs =~ /sid=\b([\d/]+)\b/;
my($sid) = $qs =~ m{sid=\b([\d/]+)\b};
next unless $sid =~ $regex_sid;
$sid_hr->{$sid} ||= 0;
$sid_hr->{$sid} += $qs_hr->{$qs};
Expand Down

0 comments on commit 28988fc

Please sign in to comment.