From f980c2e3de0339536d58c9ba91799106074b239e Mon Sep 17 00:00:00 2001 From: Mario Date: Thu, 11 Mar 2021 13:03:54 +0000 Subject: php8: daily warning fixes (deriving from mod network) --- include/text.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/text.php') diff --git a/include/text.php b/include/text.php index 1cfee4c87..85950c58b 100644 --- a/include/text.php +++ b/include/text.php @@ -3691,7 +3691,7 @@ function get_forum_channels($uid) { if(! $uid) return; - if(App::$data['forum_channels']) + if(isset(App::$data['forum_channels'])) return App::$data['forum_channels']; $xf = ''; -- cgit v1.2.3