aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorDM42.Net (Matt Dent) <dentm42@dm42.net>2018-12-15 19:49:59 -0500
committerDM42.Net (Matt Dent) <dentm42@dm42.net>2018-12-15 19:49:59 -0500
commit5bcc379530e6789f59397dc39f4da66cc8c5b2ae (patch)
treef5099661cbab0a4ff79a37c31b33a16f1eec1411 /Zotlabs
parent3f06a857c27344263d4a361e367738e85fc30af6 (diff)
downloadvolse-hubzilla-5bcc379530e6789f59397dc39f4da66cc8c5b2ae.tar.gz
volse-hubzilla-5bcc379530e6789f59397dc39f4da66cc8c5b2ae.tar.bz2
volse-hubzilla-5bcc379530e6789f59397dc39f4da66cc8c5b2ae.zip
Add return if no local_channel()
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Module/Articles.php4
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);