diff options
author | Mario <mario@mariovavti.com> | 2021-05-10 09:05:27 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-05-10 09:07:59 +0000 |
commit | f388412c48c1607b47a5457981b90a2937150835 (patch) | |
tree | 7c6636caa991e353bac04ffb51199841d20d0304 | |
parent | 43008aa42b10d9aa62f6a4e5becaa89233e1a243 (diff) | |
download | volse-hubzilla-f388412c48c1607b47a5457981b90a2937150835.tar.gz volse-hubzilla-f388412c48c1607b47a5457981b90a2937150835.tar.bz2 volse-hubzilla-f388412c48c1607b47a5457981b90a2937150835.zip |
id should be intval here
(cherry picked from commit 836de7f1a5a999d5133bc957926ba361e5b6c56e)
-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); |