aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Pin.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-09-04 08:30:04 +0000
committerMario <mario@mariovavti.com>2021-09-04 08:30:04 +0000
commit793881b9f96d1c6879790a582240944a18bd724e (patch)
tree33feb06c0f81263057af83e54496e00363ad3acb /Zotlabs/Module/Pin.php
parent529824d010cf88c409d5ce894b72060caccae580 (diff)
downloadvolse-hubzilla-793881b9f96d1c6879790a582240944a18bd724e.tar.gz
volse-hubzilla-793881b9f96d1c6879790a582240944a18bd724e.tar.bz2
volse-hubzilla-793881b9f96d1c6879790a582240944a18bd724e.zip
more gen_link_id()
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 e02fb017b..f82327ce6 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 = 'b64.' . base64url_encode($r[0]['mid']);
+ $midb64 = gen_link_id($r[0]['mid']);
$pinned = (in_array($midb64, get_pconfig($r[0]['uid'], 'pinned', $r[0]['item_type'], [])) ? true : false);
switch(argv(1)) {