phplist

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
0003967phplist applicationAll Otherpublic03-09-05 21:1818-02-08 14:17
ReporterAdnanKhalid 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version2.9.4 
Target Version2.10.7Fixed in Version2.10.1 
Summary0003967: Message Viewed statistics wrong for messages not being tracked
DescriptionIn the 'messages' panel under the admin account, if a message has its 'viewed' property set to 0 in the database either because no one has viewed it yet or because it is not being tracked, its viewed count and the unique views count are shown to be the same as the values for the previous message.

This bug can easily be fixed by adding the following else block in \admin\messages.php

      else
        $viewed = '';

AFTER

      if ($msg['viewed']) {
        $viewed = sprintf('<tr><td></td>
          <td align="right" colspan=2>
          '.$GLOBALS['I18N']->get("Viewed").'</td>
          <td align="center">%d</td></tr>
          <tr><td></td><td align="right" colspan=2>
          '.$GLOBALS['I18N']->get("Unique Views").'</td>
          <td align="center">%d</td></tr>
          ',$msg["viewed"],$uniqueviews[0]);
      }
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to 0003721closed phplist 2.10.x 

-  Notes
(0006628)
michiel (manager)
05-09-05 14:20

thanks for finding that!


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker