[Tickets #2989] NEW: No messages shown inline on PHP5 (-- fix included, no excuse! ; ) )

bugs@bugs.horde.org bugs at bugs.horde.org
Thu Nov 17 06:52:11 PST 2005


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=2989
-----------------------------------------------------------------------
 Ticket             | 2989
 Created By         | lunakid at neuropolis.org
 Summary            | No messages shown inline on PHP5 (-- fix included, no excuse! ;) )
 Queue              | IMP
 Version            | 3.2.8
 State              | Unconfirmed
 Priority           | 2. Medium
 Type               | Bug
 Owners             | 
-----------------------------------------------------------------------


lunakid at neuropolis.org (2005-11-17 06:52) wrote:

All messages are displayed empty with a bunch of attachment (non-inline).

Reason: class names became case-sensitive in PHP5 (after some pre-release(?)
versions), but Horde/Imp did not 100% follow that.

To fix that, change the class name "'mime_part" to 'MIME_Part" in
/usr/share/horde2/lib/MIME/Viewer.php (path taken from my Debian):

---------------------
        /* Check that we have a valid MIME_Part object */
        if (!is_object($mime_part) || get_class($mime_part) != 'MIME_Part')
{
            return false;
        }
---------------------

Thanks!
Luna Kid




More information about the bugs mailing list