From: hickert Date: Thu, 13 Dec 2007 11:13:00 +0000 (+0000) Subject: Fixed shadow init. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=2a0c2e27297b5873c9321c3830471768661066b2;p=gosa.git Fixed shadow init. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8120 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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]); + } }