aboutsummaryrefslogtreecommitdiffstats
path: root/include/widgets.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2016-12-14 20:51:10 -0800
committerzotlabs <mike@macgirvin.com>2016-12-14 20:51:10 -0800
commit00fc66d8e8553e3c2633f04401d733547b975b82 (patch)
treea449a85f7b873396520542209e2cf37abde51922 /include/widgets.php
parentbae28965abb179948ccd50eabdc2c038a58b9b03 (diff)
downloadvolse-hubzilla-00fc66d8e8553e3c2633f04401d733547b975b82.tar.gz
volse-hubzilla-00fc66d8e8553e3c2633f04401d733547b975b82.tar.bz2
volse-hubzilla-00fc66d8e8553e3c2633f04401d733547b975b82.zip
postgres is picky about this stuff
Diffstat (limited to 'include/widgets.php')
-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)