From 5bcc379530e6789f59397dc39f4da66cc8c5b2ae Mon Sep 17 00:00:00 2001 From: "DM42.Net (Matt Dent)" Date: Sat, 15 Dec 2018 19:49:59 -0500 Subject: Add return if no local_channel() --- Zotlabs/Module/Articles.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Zotlabs/Module/Articles.php b/Zotlabs/Module/Articles.php index bc6c00483..ca132c01e 100644 --- a/Zotlabs/Module/Articles.php +++ b/Zotlabs/Module/Articles.php @@ -23,7 +23,9 @@ class Articles extends Controller { $channel = App::get_channel(); if($channel && $channel['channel_address']) $which = $channel['channel_address']; - } + } else { + return; + } } profile_load($which); -- cgit v1.2.3