aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget/Pinned.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2024-02-01 16:29:23 +0000
committerMario <mario@mariovavti.com>2024-02-01 16:29:23 +0000
commit8515aa6966536c40f1a6c3e4cf0647401485f7d8 (patch)
tree2a1eeac4fe9023c8aab7ee095101f4a5d5282809 /Zotlabs/Widget/Pinned.php
parent691de5bf2ed177ee6481743e88a78788d32e1f03 (diff)
downloadvolse-hubzilla-8515aa6966536c40f1a6c3e4cf0647401485f7d8.tar.gz
volse-hubzilla-8515aa6966536c40f1a6c3e4cf0647401485f7d8.tar.bz2
volse-hubzilla-8515aa6966536c40f1a6c3e4cf0647401485f7d8.zip
fix issues related to b64mid to uuid conversion
Diffstat (limited to 'Zotlabs/Widget/Pinned.php')
-rw-r--r--Zotlabs/Widget/Pinned.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Widget/Pinned.php b/Zotlabs/Widget/Pinned.php
index 764b19e38..91a9f45b9 100644
--- a/Zotlabs/Widget/Pinned.php
+++ b/Zotlabs/Widget/Pinned.php
@@ -203,7 +203,7 @@ class Pinned {
if(empty($mids_list))
return [];
- $r = q("SELECT * FROM item WHERE mid IN ( '%s' ) AND uid = %d AND id = parent AND item_private = 0 ORDER BY created DESC",
+ $r = q("SELECT * FROM item WHERE uuid IN ( '%s' ) AND uid = %d AND id = parent AND item_private = 0 ORDER BY created DESC",
dbesc(implode(",", $mids_list)),
intval($this->uid)
);