diff options
author | zotlabs <mike@macgirvin.com> | 2016-10-12 15:31:14 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2016-10-12 15:31:14 -0700 |
commit | fc7d29edd360da4b9de78ba15de458367a6b8121 (patch) | |
tree | a859e6f3fa63a62e7c54789f2bd83ee68e0afddc /include | |
parent | 4f7d14dfb2a73437ec37b672a711a594186f101e (diff) | |
download | volse-hubzilla-fc7d29edd360da4b9de78ba15de458367a6b8121.tar.gz volse-hubzilla-fc7d29edd360da4b9de78ba15de458367a6b8121.tar.bz2 volse-hubzilla-fc7d29edd360da4b9de78ba15de458367a6b8121.zip |
some more api work
Diffstat (limited to 'include')
-rw-r--r-- | include/api.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/api.php b/include/api.php index f711e0649..eec3e007b 100644 --- a/include/api.php +++ b/include/api.php @@ -229,7 +229,7 @@ require_once('include/api_zot.php'); $r = q("SELECT COUNT(id) as total FROM item WHERE uid = %d AND item_wall = 1 $item_normal - AND allow_cid='' AND allow_gid='' AND deny_cid='' AND deny_gid='' + AND allow_cid = '' AND allow_gid = '' AND deny_cid = '' AND deny_gid = '' AND item_private = 0 ", intval($usr[0]['channel_id']) ); @@ -241,7 +241,7 @@ require_once('include/api_zot.php'); else { $r = q("SELECT COUNT(id) as total FROM item WHERE author_xchan = '%s' - AND allow_cid='' AND allow_gid='' AND deny_cid='' AND deny_gid='' + AND allow_cid = '' AND allow_gid = '' AND deny_cid = '' AND deny_gid = '' AND item_private = 0 ", intval($uinfo[0]['xchan_hash']) ); |