diff options
author | DM42.Net (Matt Dent) <dentm42@dm42.net> | 2018-12-16 00:49:59 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2018-12-17 10:46:43 +0100 |
commit | aabc6c282560a67c7232bc7545a93e71831c04e8 (patch) | |
tree | ac8593ba3fcf0b1935851e1e63768533345d198b | |
parent | 8323458da9896e440ded61cabf3fe0ce1a981341 (diff) | |
download | volse-hubzilla-aabc6c282560a67c7232bc7545a93e71831c04e8.tar.gz volse-hubzilla-aabc6c282560a67c7232bc7545a93e71831c04e8.tar.bz2 volse-hubzilla-aabc6c282560a67c7232bc7545a93e71831c04e8.zip |
Add return if no local_channel()
(cherry picked from commit 5bcc379530e6789f59397dc39f4da66cc8c5b2ae)
-rw-r--r-- | Zotlabs/Module/Articles.php | 4 |
1 files changed, 3 insertions, 1 deletions
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); |