NewsStats: next b5ef5726

Author Committer Branch Timestamp Parent
Thomas Hochstein Thomas Hochstein next 2018-01-01 21:29:00 next 91c674c4
Affected Issues  0000056: Upper/lower boundary of 0 is ignored
Changeset Accept an upper/lower boundary of 0 (zero).

The code checks if a boundary is set by looking
for a TRUE value, but 0 is FALSE. It has to check
whether the variable is set, i.e. defined(),
instead.

Fixes 0000056.

Signed-off-by: Thomas Hochstein <thh@inter.net>
mod - lib/NewsStats.pm Diff File