From 080c7e95b80a8d8a271a162c8f522edc42a5f3c4 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Sat, 31 Jul 2010 18:30:56 +0000 Subject: [PATCH] fixed PDF of last password change --- lam/lib/modules/shadowAccount.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lam/lib/modules/shadowAccount.inc b/lam/lib/modules/shadowAccount.inc index c9e6388e..cda025b6 100644 --- a/lam/lib/modules/shadowAccount.inc +++ b/lam/lib/modules/shadowAccount.inc @@ -413,7 +413,7 @@ class shadowAccount extends baseModule implements passwordService { * @return array list of possible PDF entries */ function get_pdfEntries() { - return array('shadowAccount_shadowLastChange' => array('' . _('Last password change') . '' . $this->attributes['shadowLastChange'][0] . ''), + return array('shadowAccount_shadowLastChange' => array('' . _('Last password change') . '' . date('d. m. Y',$this->attributes['shadowLastChange'][0]*24*3600) . ''), 'shadowAccount_shadowWarning' => array('' . _('Password warning') . '' . $this->attributes['shadowWarn'][0] . ''), 'shadowAccount_shadowInactive' => array('' . _('Password expiration') . '' . $this->attributes['shadowInactive'][0] . ''), 'shadowAccount_shadowExpire' => array('' . _('Account expiration date') . '' . date('d. m. Y',$this->attributes['shadowExpire'][0]*24*3600) . ''));