View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0004411||phpList 3 application||Message Management||public||16-10-05 23:51||18-02-08 14:16|
|Target Version||2.10.7||Fixed in Version||2.10.3|
|Summary||0004411: Requeue message uses original time to calculate how long the message took to send.|
|Description||If I re-queue a message and send it. The "time to send" incorrectly calculates the time from when the message was first sent. Example, a message was re-queued and was sent very quickly (to only 11 users). However, the display showed: "It took 932 hours 37 mins 17 secs to send this message"|
I suggest that when the message is requeued, the message time and date be updated to reflect the current time/date. The subsequent calculation would then be correct.
|Tags||No tags attached.|
I corrected the issue with a small modification to the /admin/messages.php file. On or around line 77, make the change indicated below. Adding ", sendstart = now() " to the sql update statement.
# requeue the message in $resend
print $GLOBALS['I18N']->get("Requeuing")." $resend ..";
// OLD statement
// $result = Sql_query("update ".$tables["message"]." set status = \"submitted\" where id = $resend");
// NEW Statement. JV:updated message date/time to reflect the rescheduled time
$result = Sql_query("update ".$tables["message"]." set status = \"submitted\", sendstart = now() where id = $resend");
||fixed in CVS|