Add return if no local_channel()

(cherry picked from commit 5bcc379530)
This commit is contained in:
DM42.Net (Matt Dent) 2018-12-16 00:49:59 +00:00 committed by Mario
parent 8323458da9
commit aabc6c2825

View File

@ -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);