diff options
author | lpsolit%gmail.com <> | 2006-02-03 03:04:03 +0000 |
---|---|---|
committer | lpsolit%gmail.com <> | 2006-02-03 03:04:03 +0000 |
commit | 4c2d4f95543c038d05ff3766a8dbe2b65d49ae4e (patch) | |
tree | dbd308d37a51572d61e08ec8e89e448c4cdcbd57 /whine.pl | |
parent | Bug 325037: Remove whitespaces from the 'Long Format' button - Patch by Fréd... (diff) | |
download | bugzilla-4c2d4f95543c038d05ff3766a8dbe2b65d49ae4e.tar.gz bugzilla-4c2d4f95543c038d05ff3766a8dbe2b65d49ae4e.tar.bz2 bugzilla-4c2d4f95543c038d05ff3766a8dbe2b65d49ae4e.zip |
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; |