aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorilu33 <ilu33@users.noreply.github.com>2016-12-15 05:47:02 +0100
committerGitHub <noreply@github.com>2016-12-15 05:47:02 +0100
commit97f17374f26cd2949e487733d22c48d2607a04d8 (patch)
tree1b55cbe83ac6b7a1a1a6f686198f671336da3be5
parentf16b19faf30d72c1fb93386f679a8f4da5eb7380 (diff)
downloadvolse-hubzilla-97f17374f26cd2949e487733d22c48d2607a04d8.tar.gz
volse-hubzilla-97f17374f26cd2949e487733d22c48d2607a04d8.tar.bz2
volse-hubzilla-97f17374f26cd2949e487733d22c48d2607a04d8.zip
Missing single quotes
-rw-r--r--include/widgets.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/widgets.php b/include/widgets.php
index 919ea58a0..ebdb47113 100644
--- a/include/widgets.php
+++ b/include/widgets.php
@@ -1406,12 +1406,12 @@ function widget_forums($arr) {
$xf = false;
- $x1 = q("select xchan from abconfig where chan = %d and cat = 'their_perms' and k = 'send_stream' and v = 0",
+ $x1 = q("select xchan from abconfig where chan = %d and cat = 'their_perms' and k = 'send_stream' and v = '0'",
intval(local_channel())
);
if($x1) {
$xc = ids_to_querystr($x1,'xchan',true);
- $x2 = q("select xchan from abconfig where chan = %d and cat = 'their_perms' and k = 'tag_deliver' and v = 1 and xchan in (" . $xc . ") ",
+ $x2 = q("select xchan from abconfig where chan = %d and cat = 'their_perms' and k = 'tag_deliver' and v = '1' and xchan in (" . $xc . ") ",
intval(local_channel())
);
if($x2)