| 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 |
State ⇒ Resolved
Assigned to Chuck Hagenbuch
Fixed in CVS, thanks!Patch ⇒
Milestone ⇒
Queue ⇒ Ingo
Summary ⇒ Vacation : Undefined index: addresses when using hook
Type ⇒ Bug
Priority ⇒ 1. Low
State ⇒ Unconfirmed
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']);
}