Skip to content

Commit

Permalink
initialize the number of committed users to a conference
Browse files Browse the repository at this point in the history
  • Loading branch information
Emmanuel Seyman authored and eseyman committed Oct 10, 2019
1 parent 5f6ad84 commit 2ba12b4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Act/Handler/User/Stats.pm
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ sub handler {
my $pm = {};
my $stats = {};

$stats->{committed} = 0;

for my $u (@$users) {
my ( $c, $t, $p ) = ( $u->country, $u->town, $u->pm_group );
$countries->{$c}{count}++ || do {
Expand Down

0 comments on commit 2ba12b4

Please sign in to comment.