diff options
author | lpsolit%gmail.com <> | 2006-02-03 04:04:03 +0100 |
---|---|---|
committer | lpsolit%gmail.com <> | 2006-02-03 04:04:03 +0100 |
commit | 4c2d4f95543c038d05ff3766a8dbe2b65d49ae4e (patch) | |
tree | dbd308d37a51572d61e08ec8e89e448c4cdcbd57 /whine.pl | |
parent | 33aa3086e79b60a7b4a55070ce09c1eb9eb0059a (diff) | |
download | bugzilla-4c2d4f95543c038d05ff3766a8dbe2b65d49ae4e.tar.gz bugzilla-4c2d4f95543c038d05ff3766a8dbe2b65d49ae4e.tar.xz |
Bug 325361: When an event is scheduled at midnight of a given day of the month, one email is sent *each* hour of that day - Patch by Frédéric Buclin <LpSolit@gmail.com> r=wicked a=justdave
Diffstat (limited to 'whine.pl')
-rwxr-xr-x | whine.pl | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -564,6 +564,10 @@ sub reset_timer { $sth->execute($schedule_id); my ($run_day, $run_time) = $sth->fetchrow_array; + # It may happen that the run_time field is NULL or blank due to + # a bug in editwhines.cgi when this field was initially 0. + $run_time ||= 0; + my $run_today = 0; my $minute_offset = 0; |