NOTE:: Before reporting an issue, make sure you are running the latest version, currently 3.3.1

View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015412phplist applicationAll Otherpublic12-02-10 04:2003-05-10 18:45
PlatformOSOS Version
Product Version2.10.10 
Target Version2.10.12Fixed in Version2.10.12 
Summary0015412: messages.php displays incorrect total of sent messages
DescriptionThis 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 ====

ref: [^]
Steps To ReproduceThis issue can also be observed in the "status" column of the online demo: [^]
Additional InformationIt 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:

to this:
  $msg['astext'] + $msg['ashtml'] + $msg['astextandhtml'] + $msg['aspdf'] + $msg['astextandpdf'],

TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
child of 0005869resolvedmichiel The status data of a sent email does not appear correct 

-  Notes
There are no notes attached to this issue.

Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker