Code

Removed warning
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 23 Mar 2007 14:43:26 +0000 (14:43 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 23 Mar 2007 14:43:26 +0000 (14:43 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5877 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/mail/class_mailAccount.inc

index e49f408f3b7fc9e470d920dca0773bc32b4b8b06..9325d21e2e9c7870818d139ef84637d401475265 100644 (file)
@@ -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{