diff options
author | DM42.Net (Matt Dent) <dentm42@dm42.net> | 2018-12-15 19:49:59 -0500 |
---|---|---|
committer | DM42.Net (Matt Dent) <dentm42@dm42.net> | 2018-12-15 19:49:59 -0500 |
commit | 5bcc379530e6789f59397dc39f4da66cc8c5b2ae (patch) | |
tree | f5099661cbab0a4ff79a37c31b33a16f1eec1411 | |
parent | 3f06a857c27344263d4a361e367738e85fc30af6 (diff) | |
download | volse-hubzilla-5bcc379530e6789f59397dc39f4da66cc8c5b2ae.tar.gz volse-hubzilla-5bcc379530e6789f59397dc39f4da66cc8c5b2ae.tar.bz2 volse-hubzilla-5bcc379530e6789f59397dc39f4da66cc8c5b2ae.zip |
Add return if no local_channel()
-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); |