From 9c9ad891f239ee2fb65f192fcaa8a679a448a868 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 13 Jul 2010 05:52:53 +0000 Subject: [PATCH] Updated Posix Tab -Fixed copy & paste git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18991 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/plugins/personal/posix/class_posixAccount.inc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gosa-core/plugins/personal/posix/class_posixAccount.inc b/gosa-core/plugins/personal/posix/class_posixAccount.inc index af89c484a..5222ff337 100644 --- a/gosa-core/plugins/personal/posix/class_posixAccount.inc +++ b/gosa-core/plugins/personal/posix/class_posixAccount.inc @@ -1269,7 +1269,12 @@ class posixAccount extends plugin } } - + /* Convert shadowExpire for usage */ + if ($this->shadowExpire == 0){ + $this->shadowExpire= ""; + } else { + $this->shadowExpire= date('d.m.Y', $this->shadowExpire * 60 * 60 * 24); + } $tmp = new trustModeDialog($this->config, $source['dn']); $this->trustModeDialog = new trustModeDialog($this->config, $this->dn); -- 2.30.2