Add return if no local_channel()

This commit is contained in:
DM42.Net (Matt Dent) 2018-12-15 19:49:59 -05:00
parent 3f06a857c2
commit 5bcc379530

View File

@ -23,6 +23,8 @@ class Articles extends Controller {
$channel = App::get_channel();
if($channel && $channel['channel_address'])
$which = $channel['channel_address'];
} else {
return;
}
}