[#6664] Vacation : Undefined index: addresses when using hook
Summary Vacation : Undefined index: addresses when using hook
Queue Ingo
Queue Version HEAD
Type Bug
State Resolved
Priority 1. Low
Owners Chuck Hagenbuch <chuck (at) horde (dot) org>
Requester pascal (dot) poudrier (at) geothentic (dot) com
Created 04/30/2008 (11 days ago)
Due
Updated 04/30/2008 (11 days ago)
Assigned
Resolved 04/30/2008 (11 days ago)
Attachments
Milestone
Patch

History
04/30/2008 Chuck Hagenbuch Comment #2
State ⇒ Resolved
Assigned to Chuck Hagenbuch
Reply to this comment
Fixed in CVS, thanks!
04/30/2008 pascal (dot) poudrier (at) geothentic (dot) com Comment #1
Patch ⇒
Milestone ⇒
Queue ⇒ Ingo
Summary ⇒ Vacation : Undefined index: addresses when using hook
Type ⇒ Bug
Priority ⇒ 1. Low
State ⇒ Unconfirmed
Reply to this comment
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']);
    }