aboutsummaryrefslogtreecommitdiffstats
path: root/include/channel.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2024-11-03 10:43:17 +0000
committerMario <mario@mariovavti.com>2024-11-03 10:43:17 +0000
commite20327d26760adbea6554268119bc671e0199afb (patch)
treecb4bb07ae77d8c111e97703417cb2347c9b63092 /include/channel.php
parent46fdce4402192b7884366e97f01e614de8816e86 (diff)
downloadvolse-hubzilla-e20327d26760adbea6554268119bc671e0199afb.tar.gz
volse-hubzilla-e20327d26760adbea6554268119bc671e0199afb.tar.bz2
volse-hubzilla-e20327d26760adbea6554268119bc671e0199afb.zip
explicit check for channel_address
Diffstat (limited to 'include/channel.php')
-rw-r--r--include/channel.php2
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() {