Skip to content

Commit

Permalink
fixed cut-n-paste typo
Browse files Browse the repository at this point in the history
  • Loading branch information
barbie committed Sep 4, 2013
1 parent bea9815 commit 952c742
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/CPAN/Testers/Data/Generator.pm
Expand Up @@ -945,11 +945,11 @@ sub cache_report {
return 1 if($self->{check});
return 1 if($self->{localonly});

my $json = encode_json($self->{report}{metabase};
my $json = encode_json($self->{report}{metabase});
my $data = $self->{serializer}->serialize($json);

$self->{METABASE}->do_query('INSERT IGNORE INTO metabase (guid,id,updated,report) VALUES (?,?,?,?)',
$self->{report}{guid},$self->{report}{id},$self->{report}{updated},$data));
$self->{report}{guid},$self->{report}{id},$self->{report}{updated},$data);

if((++$self->{meta_count} % 500) == 0) {
$self->{METABASE}->do_commit;
Expand Down

0 comments on commit 952c742

Please sign in to comment.