aboutsummaryrefslogtreecommitdiffstats
path: root/include/text.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-03-25 14:00:49 +0100
committerMario <mario@mariovavti.com>2021-03-25 14:00:49 +0100
commitb50f1657c3e5772dd6235ce98c55e71630b0c626 (patch)
treead1d7b2b00d012163de2163f9d5902f21618a2de /include/text.php
parentbc1cc65ff20c97db0323d02ab652b239b4c60eb6 (diff)
parent19b96e37fb2a0fe89e2b6ae537781007bb392532 (diff)
downloadvolse-hubzilla-b50f1657c3e5772dd6235ce98c55e71630b0c626.tar.gz
volse-hubzilla-b50f1657c3e5772dd6235ce98c55e71630b0c626.tar.bz2
volse-hubzilla-b50f1657c3e5772dd6235ce98c55e71630b0c626.zip
Merge branch 'air' of https://framagit.org/hubzilla/core into air
Diffstat (limited to 'include/text.php')
-rw-r--r--include/text.php3
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) {