aboutsummaryrefslogtreecommitdiffstats
path: root/include/channel.php
diff options
context:
space:
mode:
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 ca0c474a3..2db0434ca 100644
--- a/include/channel.php
+++ b/include/channel.php
@@ -2531,7 +2531,7 @@ function channelx_by_n($id, $removed = false) {
$sql_extra = '';
}
- $r = q("SELECT * FROM channel LEFT JOIN xchan ON channel_hash = xchan_hash WHERE channel_id = %d $sql_extra = 0 LIMIT 1",
+ $r = q("SELECT * FROM channel LEFT JOIN xchan ON channel_hash = xchan_hash WHERE channel_id = %d $sql_extra LIMIT 1",
intval($id)
);