diff options
author | fox <[email protected]> | 2022-10-01 12:28:15 +0300 |
---|---|---|
committer | fox <[email protected]> | 2022-10-01 12:28:15 +0300 |
commit | 0ac143a29b45e35faf7b636e26d4aa854d95602a (patch) | |
tree | 8b28a34faaac9fd848dad7503db8d6c191f894f6 /plugins/af_psql_trgm/init.php | |
parent | 42bc1620b8deda73b96b2e0029c6de79daa5ccca (diff) | |
parent | 560caf837768a39d7e13f067f9221347ad348774 (diff) |
Merge pull request 'Fix PHP8 strtime warning if argument is null (addendum)' (#86) from mechnich/tt-rss:more-strtotime-fixes into master
Reviewed-on: https://dev.tt-rss.org/fox/tt-rss/pulls/86
Diffstat (limited to 'plugins/af_psql_trgm/init.php')
-rw-r--r-- | plugins/af_psql_trgm/init.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/af_psql_trgm/init.php b/plugins/af_psql_trgm/init.php index 657b11934..4767e071b 100644 --- a/plugins/af_psql_trgm/init.php +++ b/plugins/af_psql_trgm/init.php @@ -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>"; } |