fix deprecated warning

This commit is contained in:
Uwe Steinmann 2025-09-10 18:17:53 +02:00
parent 306fc83840
commit 8b562f05b9

View File

@ -80,7 +80,7 @@ class SeedDMS_View_MyAccount extends SeedDMS_Theme_Style {
if($passwordexpiration > 0) {
print "<tr>\n";
print "<td>".getMLText("password_expiration")." : </td>\n";
print "<td>".htmlspecialchars($user->getPwdExpiration())."</td>\n";
print "<td>".htmlspecialchars($user->getPwdExpiration() ?? '')."</td>\n";
print "</tr>\n";
}
print "<tr>\n";