Fix PHP8 strtime warning if argument is null (addendum)

This commit is contained in:
jmechnich
2022-10-01 11:05:12 +02:00
parent 42bc1620b8
commit 560caf8377
6 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -122,7 +122,7 @@ class Af_Psql_Trgm extends Plugin {
print "</div>";
print "<div style='text-align : right' class='text-muted'>" . TimeHelper::smart_date_time(strtotime($line["updated"])) . "</div>";
print "<div style='text-align : right' class='text-muted'>" . TimeHelper::smart_date_time(strtotime($line["updated"] ?? '')) . "</div>";
print "</li>";
}