aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHabeas Codice <habeascodice@federated.social>2015-02-16 15:08:53 -0800
committerHabeas Codice <habeascodice@federated.social>2015-02-16 15:08:53 -0800
commit972fc91e12b08eb0aae31c448b7879408ddab229 (patch)
tree7c8ab700c76a73dfe99f1bca5a851078f4ca3dd9
parent46eda6e72371fd5fb9e6810fd9ef68b659ffb308 (diff)
downloadvolse-hubzilla-972fc91e12b08eb0aae31c448b7879408ddab229.tar.gz
volse-hubzilla-972fc91e12b08eb0aae31c448b7879408ddab229.tar.bz2
volse-hubzilla-972fc91e12b08eb0aae31c448b7879408ddab229.zip
remove superfluous non-boolean boolean
-rw-r--r--include/api.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/api.php b/include/api.php
index d5c2a429c..d0c4ed0aa 100644
--- a/include/api.php
+++ b/include/api.php
@@ -808,8 +808,8 @@ require_once('include/items.php');
require_once('include/security.php');
- $lastwall = q("SELECT * from item where 1
- and item_private = 0 and item_restrict = 0
+ $lastwall = q("SELECT * from item where
+ item_private = 0 and item_restrict = 0
and author_xchan = '%s'
and allow_cid = '' and allow_gid = '' and deny_cid = '' and deny_gid = ''
and verb = '%s'