summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1a14b67)
raw | patch | inline | side by side (parent: 1a14b67)
author | hzerres <hzerres@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 18 Nov 2010 15:22:28 +0000 (15:22 +0000) | ||
committer | hzerres <hzerres@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 18 Nov 2010 15:22:28 +0000 (15:22 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20275 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/groupware/personal/groupware/class_GroupwareDao.inc | patch | blob | history |
diff --git a/gosa-plugins/groupware/personal/groupware/class_GroupwareDao.inc b/gosa-plugins/groupware/personal/groupware/class_GroupwareDao.inc
index 3147f6e2ca25ff8dfb95d9dc4c16204348712142..0e5e57127eeb34cd06d31d352b06b076edfd8345 100644 (file)
$resultArr["mailLimitSendEnabled"] = TRUE;
$resultArr["mailLimitSendValue"] = $comp["mailLimits"]["send"];
-
- $resultArr["vacationMessage"] = $comp["vacation"]["message"];
-
+
+ if(empty($comp["vacation"]["message"])){
+ $resultArr["vacationEnabled"] = FAlSE;
+ $resultArr["vacationMessage"] = "";
+ }
+ else{
+ $resultArr["vacationEnabled"] = TRUE;
+ $resultArr["vacationMessage"] = $comp["vacation"]["message"];
+ }
+
return $resultArr;
}