diff options
Diffstat (limited to 'include/channel.php')
-rw-r--r-- | include/channel.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/channel.php b/include/channel.php index 22b5bcde1..0ece3be74 100644 --- a/include/channel.php +++ b/include/channel.php @@ -3106,7 +3106,7 @@ function pchan_to_chan($pchan) { } function channel_url($channel) { - return (($channel) ? z_root() . '/channel/' . $channel['channel_address'] : z_root()); + return ((isset($channel['channel_address'])) ? z_root() . '/channel/' . $channel['channel_address'] : z_root()); } function get_channel_hashes() { |