aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Pin.php
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs/Module/Pin.php')
-rw-r--r--Zotlabs/Module/Pin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Pin.php b/Zotlabs/Module/Pin.php
index f82327ce6..de3c75622 100644
--- a/Zotlabs/Module/Pin.php
+++ b/Zotlabs/Module/Pin.php
@@ -37,7 +37,7 @@ class Pin extends \Zotlabs\Web\Controller {
http_status_exit(404, 'Not found');
}
- $midb64 = gen_link_id($r[0]['mid']);
+ $midb64 = $r[0]['uuid'];
$pinned = (in_array($midb64, get_pconfig($r[0]['uid'], 'pinned', $r[0]['item_type'], [])) ? true : false);
switch(argv(1)) {