From 2a0c2e27297b5873c9321c3830471768661066b2 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 13 Dec 2007 11:13:00 +0000 Subject: [PATCH] Fixed shadow init. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8120 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/plugins/personal/posix/class_posixAccount.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gosa-core/plugins/personal/posix/class_posixAccount.inc b/gosa-core/plugins/personal/posix/class_posixAccount.inc index 77ddc33fa..528fdc945 100644 --- a/gosa-core/plugins/personal/posix/class_posixAccount.inc +++ b/gosa-core/plugins/personal/posix/class_posixAccount.inc @@ -1594,7 +1594,9 @@ class posixAccount extends plugin } /* Convert to seconds */ - $this->shadowExpire= $this->convertToSeconds($this->shadowExpire); + if(isset($this->multi_attrs['shadowExpire'])){ + $this->shadowExpire = $this->convertToSeconds($this->multi_attrs['shadowExpire'][0]); + } } -- 2.30.2