aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Search.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-05-11 11:52:22 +0000
committerMario <mario@mariovavti.com>2022-05-11 11:52:22 +0000
commit1b4268b9b0df54d1d242d5f261b0e6f010be12e0 (patch)
tree8626f94b16f01e8ca47f892946bf52ae28d88f4a /Zotlabs/Module/Search.php
parenta7968e6525ab47bc44d6a8b5a01cf82ac6d5ea03 (diff)
downloadvolse-hubzilla-1b4268b9b0df54d1d242d5f261b0e6f010be12e0.tar.gz
volse-hubzilla-1b4268b9b0df54d1d242d5f261b0e6f010be12e0.tar.bz2
volse-hubzilla-1b4268b9b0df54d1d242d5f261b0e6f010be12e0.zip
do not stringify integer value
Diffstat (limited to 'Zotlabs/Module/Search.php')
-rw-r--r--Zotlabs/Module/Search.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Search.php b/Zotlabs/Module/Search.php
index 19fcff5c8..efea7bbdd 100644
--- a/Zotlabs/Module/Search.php
+++ b/Zotlabs/Module/Search.php
@@ -209,7 +209,7 @@ class Search extends Controller {
$r = q("SELECT mid, MAX(id) AS item_id FROM item
WHERE (((( item.allow_cid = '' AND item.allow_gid = '' AND item.deny_cid = '' AND item.deny_gid = '' AND item.item_private = 0 )
AND item.uid IN ( " . stream_perms_api_uids(($observer_hash) ? (PERMS_NETWORK | PERMS_PUBLIC) : PERMS_PUBLIC) . " ))
- $pub_sql ) OR item.uid = '%d')
+ $pub_sql ) OR item.uid = %d)
$item_normal
$sql_extra
GROUP BY mid, created ORDER BY created DESC $pager_sql",