[Tickets #5168] Undefined offset: 1 in Driver.php on line 925
bugs at bugs.horde.org
bugs at bugs.horde.org
Wed Mar 28 11:27:02 UTC 2007
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=5168
-----------------------------------------------------------------------
Ticket | 5168
Created By | jokot3 at gmail.com
Summary | Undefined offset: 1 in Driver.php on line 925
Queue | Turba
Version | HEAD
Type | Bug
State | Unconfirmed
Priority | 1. Low
Owners |
+New Attachment | turba_driver_patch
-----------------------------------------------------------------------
jokot3 at gmail.com (2007-03-28 04:27) wrote:
When adding a personnal vcard file (containing around 15 entries), it
produce the error :
Notice: Undefined offset: 1 in
/srv/www/horde-cvs/horde/turba/lib/Driver.php on line 925
already mentionned there :
http://lists.horde.org/archives/dev/Week-of-Mon-20051003/018643.html
The guy provides a patch but didn't post a bug ticket, there it is :)
line 925 and around :
case 'N':
$name = $item['values'];
$hash['lastname'] = $name[VCARD_N_FAMILY];
925 --> $hash['firstname'] = $name[VCARD_N_GIVEN];
if (!empty($name[VCARD_N_ADDL])) {
I can't provide the vcard file causing the error, it contains really
personnal data (as any vcard...), but I'm trying to produce one which
cause the same notice, if needed.
Patch attached.
greets.
More information about the bugs
mailing list