diff options
author | Mario <mario@mariovavti.com> | 2022-02-02 17:58:29 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2022-02-02 17:58:29 +0000 |
commit | 1740ae2104ff734edd45f6c0f1273d561cc4a69c (patch) | |
tree | d63c6d59f7f673193e9141b48c48bdee2b7fdbe9 /include/conversation.php | |
parent | d8372f84339b29ef05f92d452ec196df32087f4a (diff) | |
download | volse-hubzilla-1740ae2104ff734edd45f6c0f1273d561cc4a69c.tar.gz volse-hubzilla-1740ae2104ff734edd45f6c0f1273d561cc4a69c.tar.bz2 volse-hubzilla-1740ae2104ff734edd45f6c0f1273d561cc4a69c.zip |
more PHP 8.1 deprecated warnings
Diffstat (limited to 'include/conversation.php')
-rw-r--r-- | include/conversation.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/conversation.php b/include/conversation.php index 17367856c..c0238b8ae 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -558,7 +558,7 @@ function conversation($items, $mode, $update, $page_mode = 'traditional', $prepa $page_writeable = ($profile_owner == local_channel()); if (!$update) { - $tab = notags(trim($_GET['tab'])); + $tab = notags(trim((string)$_GET['tab'])); if ($tab === 'posts') { // This is ugly, but we can't pass the profile_uid through the session to the ajax updater, // because browser prefetching might change it on us. We have to deliver it with the page. @@ -974,7 +974,7 @@ function best_link_url($item) { } } if(! $best_url) { - if(strlen($item['author-link'])) + if($item['author-link']) $best_url = $item['author-link']; else $best_url = $item['url']; |