Commit 5bcc3795 authored by DM42.Net (Matt Dent)'s avatar DM42.Net (Matt Dent)

Add return if no local_channel()

parent 3f06a857
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment