From: hickert Date: Fri, 23 Mar 2007 14:43:26 +0000 (+0000) Subject: Removed warning X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e334378f37e7536e67e7ed7f82b0303e0f755819;p=gosa.git Removed warning git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5877 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/personal/mail/class_mailAccount.inc b/plugins/personal/mail/class_mailAccount.inc index e49f408f3..9325d21e2 100644 --- a/plugins/personal/mail/class_mailAccount.inc +++ b/plugins/personal/mail/class_mailAccount.inc @@ -33,8 +33,8 @@ class mailAccount extends plugin var $gosaMailQuota = ""; var $gosaMailMaxSize = ""; var $gosaVacationMessage = ""; - var $gosaVacationStart = NULL; - var $gosaVacationStop = NULL; + var $gosaVacationStart = 0; + var $gosaVacationStop = 0; var $gosaSpamSortLevel = ""; var $gosaSpamMailbox = ""; @@ -510,7 +510,7 @@ class mailAccount extends plugin } /* Display mail account tab */ - if(empty($this->gosaVacationStart)){ + if($this->gosaVacationStart ==0){ $date= getdate(time()); }else{ $date= getdate($this->gosaVacationStart); @@ -533,7 +533,7 @@ class mailAccount extends plugin $smarty->assign("years", $years); $smarty->assign("start_year", $date["year"]); - if(empty($this->gosaVacationStop)){ + if($this->gosaVacationStop ==0){ $date= getdate(time()); $date["mday"]++; }else{