Code

Fixed shadow init.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 13 Dec 2007 11:13:00 +0000 (11:13 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 13 Dec 2007 11:13:00 +0000 (11:13 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8120 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/personal/posix/class_posixAccount.inc

index 77ddc33faabd49cce06bf2d831baf9208d5364ec..528fdc945d5fb969a44e75ebe762c80795203dea 100644 (file)
@@ -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]);
+    }
   }