diff --git a/modcp.php b/modcp.php index 2b3af6e8..3528f176 100644 --- a/modcp.php +++ b/modcp.php @@ -777,7 +777,7 @@ switch ($mode) 'ROW_CLASS' => !($i % 2) ? 'row4' : 'row5', 'USERNAME' => $username, 'POSTS' => $row['postings'], - 'U_PROFILE' => ($id == GUEST_UID) ? "modcp.php?mode=ip&p=$post_id&t=$topic_id" : '', + 'U_PROFILE' => ($id == GUEST_UID) ? POST_URL . "$post_id#$post_id" : '', 'U_SEARCHPOSTS' => "search.php?search_author=1&uid=$id", ));