Add return if no local_channel()
This commit is contained in:
parent
3f06a857c2
commit
5bcc379530
@ -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);
|
||||
|
Reference in New Issue
Block a user