Add return if no local_channel()
(cherry picked from commit 5bcc379530
)
This commit is contained in:
parent
8323458da9
commit
aabc6c2825
@ -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