Skip to content

Commit

Permalink
bugfixes to find a tester feature.
Browse files Browse the repository at this point in the history
  • Loading branch information
barbie committed May 28, 2010
1 parent dc6c864 commit 82ee35d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions Changes
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Revision history for CPAN-Testers-WWW-Statistics
0.85 28/05/2010
- added missing.html for missing in action PAUSE accounts.
- extended the stats of cpan to provide milestones.
- bugfixes to find a tester feature.

0.84 20/04/2010
- fixed ranges() to return correct ranges for a range ending on or
Expand Down
4 changes: 2 additions & 2 deletions templates/cgi-bin/cpanmail.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ if($tvars{id} || $tvars{guid}) {
$tvars{nntpid} = guid_to_nntp($tvars{guid});
$found = retrieve_from_nntp($tvars{nntpid});
} else {
$found = 5;
$found ||= 5;
}
} else {
$found = 3;
Expand Down Expand Up @@ -115,7 +115,7 @@ sub retrieve_from_db {
if(defined $hash{id}) {
$sql = "SELECT * FROM cpanstats WHERE id=$hash{id}";
} elsif(defined $hash{guid}) {
$sql = "SELECT * FROM cpanstats WHERE guid=$hash{guid}";
$sql = "SELECT * FROM cpanstats WHERE guid='$hash{guid}'";
}

my @rows = $dbh->get_query('hash',$sql);
Expand Down

0 comments on commit 82ee35d

Please sign in to comment.