[Tickets #780] NEW: Undefined property from in message filter display

bugs at bugs.horde.org bugs at bugs.horde.org
Sun Nov 7 23:13:31 PST 2004


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

Ticket URL: http://bugs.horde.org/ticket/?id=780
-----------------------------------------------------------------------
 Ticket     | 780
 Created By | josef.spangler at rz.uni-regensburg.de
 Summary    | Undefined property from in message filter display
 Queue      | IMP
 Version    | 3.2.6
 State      | Unconfirmed
 Priority   | 2. Medium
 Type       | Bug
 Owners     | 
-----------------------------------------------------------------------


josef.spangler at rz.uni-regensburg.de (2004-11-07 23:13) wrote:

In lib\imp.php:
When $prefs->getValue('show_filter_msg') is true and the from address in a
mail is not defined, one gets a warning:
Undefined property: from in lib\imp.php line 1224

To correct this problem
  MIME::decode($message->from)
has to be changed to
  isset($message->from) ? MIME::decode($message->from) : "[Unknown]"
in lib\imp.php in line 1211, 1213 and 1224




More information about the bugs mailing list