From: hickert Date: Wed, 19 Dec 2007 13:00:29 +0000 (+0000) Subject: Avoid PHP warnings in mailAccount X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d5567a7aff0a88d4cebd848f8b2c23a2d196dbc0;p=gosa.git Avoid PHP warnings in mailAccount git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@8148 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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']; + } } } }