|Relationship Graph||View Issue Dependency Graph|
View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0015412||phpList 3 application||General||public||12-02-10 04:20||03-05-10 18:45|
|Target Version||2.10.12||Fixed in Version||2.10.12|
|Summary||0015412: messages.php displays incorrect total of sent messages|
|Description||This issue was reported by rrrob on the forum:|
==== Start Quote ====
On the page "phplist - list of messages" under the section "status" there is a table that lists, "in this order," total text html PDF both.
Beneath these headings are figures 48, 5, 53, 0, 0
I know how many tests I've sent and I know how many messages were sent, the figures them selves are accurate, but they are in the wrong order.
Currently it is saying there were 48 total, 5 text and 53 html...
But actually there were 53 total, 5 text and 48 html.
I'd like to correct this before the list goes completely live with a couple 1000 users but I haven't been able to find the correct code to swap in order to make this happen.
==== End Quote ====
|Steps To Reproduce||This issue can also be observed in the "status" column of the online demo: http://demo.phplist.com/lists/admin/?page=messages|
|Additional Information||It looks like $msg["processed"], in messages.php (line 251) doesn't generate the right amount for some reason. |
Since I'm not burdened with much knowledge of the code, I looked for a workaround and tried this as a quick fix, which seems to work:
In messages.php, on line 251 change this:
$msg['astext'] + $msg['ashtml'] + $msg['astextandhtml'] + $msg['aspdf'] + $msg['astextandpdf'],
|Tags||No tags attached.|