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:55:26 -0800
commite70dbec6b98656554c8886383f3f40f8c2afd972 (patch)
tree39693bc59937e906ba5897d2b152fe69cacb91cc /include/widgets.php
parentbe4bbd7b9bba5ff65f5d057a0d801de810c73b90 (diff)
downloadvolse-hubzilla-e70dbec6b98656554c8886383f3f40f8c2afd972.tar.gz
volse-hubzilla-e70dbec6b98656554c8886383f3f40f8c2afd972.tar.bz2
volse-hubzilla-e70dbec6b98656554c8886383f3f40f8c2afd972.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)