aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
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
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')
-rw-r--r--Zotlabs/Lib/ThreadItem.php2
-rw-r--r--Zotlabs/Widget/Pinned.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Lib/ThreadItem.php b/Zotlabs/Lib/ThreadItem.php
index b6df1baf1..016dc5d25 100644
--- a/Zotlabs/Lib/ThreadItem.php
+++ b/Zotlabs/Lib/ThreadItem.php
@@ -384,7 +384,7 @@ class ThreadItem {
call_hooks('dropdown_extras',$dropdown_extras_arr);
$dropdown_extras = $dropdown_extras_arr['dropdown_extras'];
- //$midb64 = gen_link_id($item['mid']);
+ $midb64 = $item['uuid'];
$mids = [ $item['uuid'] ];
$response_mids = [];
foreach($response_verbs as $v) {
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)
);