[Tickets #11430] Error with non existing default identities
bugs at horde.org
bugs at horde.org
Mon Sep 17 11:51:35 UTC 2012
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/11430
------------------------------------------------------------------------------
Ticket | 11430
Created By | o+horde at immerda.ch
Summary | Error with non existing default identities
Queue | IMP
Version | Git master
Type | Bug
State | Unconfirmed
Priority | 3. High
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
o+horde at immerda.ch (2012-09-17 11:51) wrote:
On our system we discovered several users with default identities,
which do no longer exist anymore. We have not investigated whether
this is a legacy issue, or still happening when deleting the default
identity.
Please merge our mitigation:
/imp/lib/Prefs/Identity.php
329,331c329,333
< $tmp = $ids[$default];
< unset($ids[$default]);
< $ids[$default] = $tmp;
---
> if(isset($ids[$default])) {
> $tmp = $ids[$default];
> unset($ids[$default]);
> $ids[$default] = $tmp;
> }
More information about the bugs
mailing list