Summary | Undefined property from in message filter display |
Queue | IMP |
Queue Version | 3.2.6 |
Type | Bug |
State | Resolved |
Priority | 2. Medium |
Owners | |
Requester | josef.spangler (at) rz (dot) uni-regensburg (dot) de |
Created | 11/08/2004 (7577 days ago) |
Due | |
Updated | 11/09/2004 (7576 days ago) |
Assigned | |
Resolved | 11/09/2004 (7576 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Resolved
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Undefined property from in message filter display
Queue ⇒ IMP
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