Skip to content
This repository has been archived by the owner on Feb 7, 2018. It is now read-only.

Commit

Permalink
Show zero counts
Browse files Browse the repository at this point in the history
  • Loading branch information
pmb0 committed Mar 20, 2015
1 parent 578390b commit 2e56dd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Heise/Shariff.pm
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ sub startup {
# warn dumper $transactions[$i]->res;
my $service = $services[$i];

if (my $value = $service->extract_count($transactions[$i]->res)) {
if (defined(my $value = $service->extract_count($transactions[$i]->res))) {
$counts{ $service->get_name } = $value;
}
}
Expand Down

0 comments on commit 2e56dd6

Please sign in to comment.