diff options
author | zotlabs <mike@macgirvin.com> | 2016-12-14 20:51:10 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2016-12-14 20:55:26 -0800 |
commit | e70dbec6b98656554c8886383f3f40f8c2afd972 (patch) | |
tree | 39693bc59937e906ba5897d2b152fe69cacb91cc | |
parent | be4bbd7b9bba5ff65f5d057a0d801de810c73b90 (diff) | |
download | volse-hubzilla-e70dbec6b98656554c8886383f3f40f8c2afd972.tar.gz volse-hubzilla-e70dbec6b98656554c8886383f3f40f8c2afd972.tar.bz2 volse-hubzilla-e70dbec6b98656554c8886383f3f40f8c2afd972.zip |
postgres is picky about this stuff
-rw-r--r-- | include/widgets.php | 4 |
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) |