phplist - list of messages "status"

Discuss, research, share, find, and solve bugs

phplist - list of messages "status"

Postby rrrrob » 7:59pm, Wed 10 Feb, 2010

Hello All,

I've searched the site and haven't been able to find an answer to my question so...

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. Can someone with more experience and understanding please pass on the code corrections that would make this happen.

Thank you
Rob
rrrrob
PL Nut
 
Posts: 18
Joined: 11:19pm, Mon 26 Oct, 2009

Re: phplist - list of messages "status"

Postby H2B2 » 3:18am, Thu 11 Feb, 2010

Did a quick check and can confirm your findings. Had a look at the code. It appears the value for the $processed variable isn't passed on correctly for some reason. Not sure if this is the best solution, but I guess you might try this as a quick fix:

In messages.php, on line 251 change this:
Code: Select all
$msg["processed"],

to this (all in a single line):
Code: Select all
$msg['astext'] + $msg['ashtml'] + $msg['astextandhtml'] + $msg['aspdf'] + $msg['astextandpdf'],


Note: as always, make a backup copy of the original file before changing it.

Filed this bug report: http://mantis.phplist.com/view.php?id=15412
H2B2
Moderator
 
Posts: 7188
Joined: 1:51am, Wed 15 Mar, 2006


Return to Bug Discussion

Who is online

Users browsing this forum: No registered users and 1 guest