diff --git a/views/bootstrap/class.MyAccount.php b/views/bootstrap/class.MyAccount.php index 4cdc58ac4..ead18977f 100644 --- a/views/bootstrap/class.MyAccount.php +++ b/views/bootstrap/class.MyAccount.php @@ -93,7 +93,7 @@ $(document).ready( function() { if($passwordexpiration > 0) { print "\n"; print "".getMLText("password_expiration")." : \n"; - print "".htmlspecialchars($user->getPwdExpiration())."\n"; + print "".htmlspecialchars($user->getPwdExpiration() ?? '')."\n"; print "\n"; } print "\n";