Code

Updated Posix Tab
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 13 Jul 2010 05:52:53 +0000 (05:52 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 13 Jul 2010 05:52:53 +0000 (05:52 +0000)
-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

index af89c484aa01195d54eeb56ee4149e7b0268daa3..5222ff3377382561fe842c33f4d378f9169f8d99 100644 (file)
@@ -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);