[Tickets #6039] contact search box rendered PHP error
bugs at horde.org
bugs at horde.org
Mon Dec 24 23:26:07 UTC 2007
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=6039
-----------------------------------------------------------------------
Ticket | 6039
Created By | m.gabriel at das-netzwerkteam.de
Summary | contact search box rendered PHP error
Queue | Kolab
Type | Bug
State | Unconfirmed
Priority | 2. Medium
Owners |
-----------------------------------------------------------------------
m.gabriel at das-netzwerkteam.de (2007-12-24 18:26) wrote:
i am using kolab-2.1 (debian unstable) and horde-webmail-1.1rc1
when i began to setup my portal i did not import kolab's global address
book. at that time the portal block for contact search rendered a
php-error (that i unfortunately cannot reproduce any more) in case the
kolab user address book was empty. the patch below fixed the problem...
$ diff horde-webmail-1.1-rc1/turba/lib/Driver/kolab.php
horde-webmail-1.1-rc1-netzwerkteam/turba/lib/Driver/kolab.php
767,768c767,771
< $field = $test['field'];
< $needle = $test['test'];
---
>
> $field = isset($test['field']) and
$test['field'] or '';
> $needle = isset($test['test']) and
$test['test'] or '';
> #$field = $test['field'];
> #$needle = $test['test'];
More information about the bugs
mailing list