Because the count for 'yesterday' is alway zero.
percentage => $junk_in_per,
};
percentage => $junk_in_per,
};
- my $glcount_per = $count_in ? sprintf("%0.2f", ($totals->{glcount}*100)/$count_in) : undef;
- push @$data, {
- text => 'Greylisted Mails',
- value => $totals->{glcount},
- percentage => $glcount_per,
- };
-
my $spamcount_in_per = $count_in ? sprintf("%0.2f", ($totals->{spamcount_in}*100)/$count_in) : undef;
push @$data, {
my $spamcount_in_per = $count_in ? sprintf("%0.2f", ($totals->{spamcount_in}*100)/$count_in) : undef;
push @$data, {