From 8b562f05b9737a0d9d4b9f600d1557cf70b9053c Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Wed, 10 Sep 2025 18:17:53 +0200 Subject: [PATCH] fix deprecated warning --- views/bootstrap/class.MyAccount.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/bootstrap/class.MyAccount.php b/views/bootstrap/class.MyAccount.php index 69b27cd84..c30735e8a 100644 --- a/views/bootstrap/class.MyAccount.php +++ b/views/bootstrap/class.MyAccount.php @@ -80,7 +80,7 @@ class SeedDMS_View_MyAccount extends SeedDMS_Theme_Style { if($passwordexpiration > 0) { print "\n"; print "".getMLText("password_expiration")." : \n"; - print "".htmlspecialchars($user->getPwdExpiration())."\n"; + print "".htmlspecialchars($user->getPwdExpiration() ?? '')."\n"; print "\n"; } print "\n";