summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 98163df)
raw | patch | inline | side by side (parent: 98163df)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 28 Mar 2007 08:26:41 +0000 (08:26 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 28 Mar 2007 08:26:41 +0000 (08:26 +0000) |
correctly when creating a new user.
The values were 0 untill the dates were changed with the html interface.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5910 594d385d-05f5-0310-b6e9-bd551577e9d8
The values were 0 untill the dates were changed with the html interface.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5910 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/personal/mail/class_mailAccount.inc | patch | blob | history |
diff --git a/plugins/personal/mail/class_mailAccount.inc b/plugins/personal/mail/class_mailAccount.inc
index 9325d21e2e9c7870818d139ef84637d401475265..95960749a21ff53d8b19c9be810216b90ba451ba 100644 (file)
/* Display mail account tab */
if($this->gosaVacationStart ==0){
$date= getdate(time());
+ $this->gosaVacationStart = time();
}else{
$date= getdate($this->gosaVacationStart);
}
if($this->gosaVacationStop ==0){
$date= getdate(time());
$date["mday"]++;
+ $this->gosaVacationStop = time() + (60*60*24);
}else{
$date= getdate($this->gosaVacationStop);
}