[Tickets #6664] Vacation : Undefined index: addresses when using hook

bugs at horde.org bugs at horde.org
Wed Apr 30 20:01:19 UTC 2008


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

Ticket URL: http://bugs.horde.org/ticket/6664
-----------------------------------------------------------------------
 Ticket             | 6664
 Created By         | pascal.poudrier at geothentic.com
 Summary            | Vacation : Undefined index: addresses when using hook
 Queue              | Ingo
 Version            | HEAD
 Type               | Bug
 State              | Unconfirmed
 Priority           | 1. Low
 Milestone          |
 Patch              |
 Owners             |
-----------------------------------------------------------------------


pascal.poudrier at geothentic.com (2008-04-30 16:01) wrote:

I configured the vacation addresses from my LDAP server I do not show the
addresses field.

When I click save I get the following Notice message but everything seems
to work fine :

Notice: Undefined index: addresses in
/var/www/localhost/htdocs/horde2/ingo/vacation.php on line 68

If I add this code around the line, the message disapear and everything
seem to work fine.
if (isset($info['addresses'])) {
        $vacation->setVacationAddresses($info['addresses']);
    }





More information about the bugs mailing list