From a6ee5ba4f241026dcae9708bf5594f892eaef6a0 Mon Sep 17 00:00:00 2001 From: aftercase <74765798+aftercase@users.noreply.github.com> Date: Tue, 13 Jul 2021 00:30:34 +0100 Subject: [PATCH] Now works! Paste favs and user pastes now loads. --- theme/bulma/user_profile.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/theme/bulma/user_profile.php b/theme/bulma/user_profile.php index 26e89d2..16bbd39 100644 --- a/theme/bulma/user_profile.php +++ b/theme/bulma/user_profile.php @@ -172,8 +172,8 @@ $protocol = paste_protocol();
$row) { $title = Trim($row['title']); $p_id = Trim($row['id']); $p_code = Trim($row['code']); @@ -199,7 +199,7 @@ $protocol = paste_protocol(); } $p_link = ($mod_rewrite == '1') ? "$p_id" : "paste.php?id=$p_id"; $p_delete_link = ($mod_rewrite == '1') ? "user.php?del&user=$profile_username&id=$p_id" : "user.php?del&user=$profile_username&id=$p_id"; - $p_tag_link = ($mod_rewrite == '1') ? "user.php?user=$profile_username&q=$tags" : "user.php?user=$profile_username&q=$tags"; + $p_tag_link = ($mod_rewrite == '1') ? "user.php?user=$profile_username&q=$p_tags" : "user.php?user=$profile_username&q=$tags"; $title = truncate($title, 20, 50); // Guests only see public pastes @@ -261,7 +261,7 @@ $protocol = paste_protocol();