Home » Mail » Mail_Queue » Bug #8661
date stamp wrong in Mail_queue::put()
Details
| Submitted | 2006-09-08 04:24 UTC |
|---|---|
| From | randy at rcs-comp dot com |
| Assigned | quipo |
| Status | Closed |
| Package | Mail_Queue |
| PHP Version | 5.1.6 |
| OS | Win XP |
| Roadmaps | (Not assigned) |
Comments
[2006-09-08 04:24 UTC] randy at rcs-comp dot com
Description:
------------
On line 410 of queue.php:
$time_to_send = date("Y-m-d G:i:s", time() + $sec_to_send);
should be
$time_to_send = date("Y-m-d H:i:s", time() + $sec_to_send);
Notice that the formating for date() is different. The original version can cause problems with DB comparisons.
Found the bug using sqlite and mdb2 container.