diff options
author | Mario <mario@mariovavti.com> | 2021-03-24 09:21:58 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-03-24 09:21:58 +0000 |
commit | 1a15c775f8b7b5f19ba7ba68730f31a20da402b5 (patch) | |
tree | cabd18d5f8e29d1a053c713c038ccb5964879132 /include | |
parent | 2d716b74b9a879cbeaa8a3208dd6be2516b21fe7 (diff) | |
download | volse-hubzilla-1a15c775f8b7b5f19ba7ba68730f31a20da402b5.tar.gz volse-hubzilla-1a15c775f8b7b5f19ba7ba68730f31a20da402b5.tar.bz2 volse-hubzilla-1a15c775f8b7b5f19ba7ba68730f31a20da402b5.zip |
php8: fix fatal errors
Diffstat (limited to 'include')
-rw-r--r-- | include/text.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/text.php b/include/text.php index 9635925b5..c6980c5f8 100644 --- a/include/text.php +++ b/include/text.php @@ -3751,6 +3751,9 @@ function get_forum_channels($uid) { intval($uid) ); + if(!$r) + $r = []; + for($x = 0; $x < count($r); $x ++) { if($x3) { foreach($x3 as $xx) { |