From d5567a7aff0a88d4cebd848f8b2c23a2d196dbc0 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 19 Dec 2007 13:00:29 +0000 Subject: [PATCH] Avoid PHP warnings in mailAccount git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@8148 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/personal/mail/class_mailAccount.inc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/plugins/personal/mail/class_mailAccount.inc b/plugins/personal/mail/class_mailAccount.inc index d1415d32b..8484608df 100644 --- a/plugins/personal/mail/class_mailAccount.inc +++ b/plugins/personal/mail/class_mailAccount.inc @@ -861,8 +861,12 @@ class mailAccount extends plugin $this->gosaMailDeliveryMode= $tmp; if(chkacl($this->acl,"gosaVacationMessage") == "" && preg_match("/V/",$this->gosaMailDeliveryMode)){ - $this->gosaVacationStart = $_POST['gosaVacationStart']; - $this->gosaVacationStop = $_POST['gosaVacationStop']; + if(isset($_POST['gosaVacationStart'])){ + $this->gosaVacationStart = $_POST['gosaVacationStart']; + } + if(isset($_POST['gosaVacationStop'])){ + $this->gosaVacationStop = $_POST['gosaVacationStop']; + } } } } -- 2.30.2