diff options
author | Mario <mario@mariovavti.com> | 2021-05-10 09:05:27 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-05-10 09:05:27 +0000 |
commit | 836de7f1a5a999d5133bc957926ba361e5b6c56e (patch) | |
tree | 047571e2a91585ec9806f6090e4eb508712cc622 /include/channel.php | |
parent | 954d06bdb7c8ef9f73f799eec72fcbd8bbc56b9f (diff) | |
download | volse-hubzilla-836de7f1a5a999d5133bc957926ba361e5b6c56e.tar.gz volse-hubzilla-836de7f1a5a999d5133bc957926ba361e5b6c56e.tar.bz2 volse-hubzilla-836de7f1a5a999d5133bc957926ba361e5b6c56e.zip |
id should be intval here
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 31c7c407f..bc9f686e7 100644 --- a/include/channel.php +++ b/include/channel.php @@ -2593,7 +2593,7 @@ function channelx_by_n($id) { } $r = q("SELECT * FROM channel LEFT JOIN xchan ON channel_hash = xchan_hash WHERE channel_id = %d AND channel_removed = 0 LIMIT 1", - dbesc($id) + intval($id) ); return(($r) ? $r[0] : false); |