6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
8/13/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#592] view message text/plain error with php5
*
Your Email Address
*
Spam protection
Enter the letters below:
.__ .__ ._.. .. . [__)[__) | | ||\ | | [__)_|_|/\|| \|
Comment
> From the PHP documentation for get_class: > > "In PHP 4 get_class() returns a user defined class name in > > lowercase, but in PHP 5 it will return the class name in its > > original notation too, just like class names from PHP extensions" > > > > So the fix I did was to change the condition to the following. > > strtolower(get_class($mime_part)) != 'mime_part' > > > > Dear developers: > > It might be a good idea to wrap get_class with strtolower where > > ever you find it for PHP5 compatibility. (Even though it > > seems PHP5 is not a concern for IMP 3.) > > > > # grep -rs "get_class(" . > > > >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers