From e2598ca9d42e65160688e77d18bbc91aadf12f79 Mon Sep 17 00:00:00 2001 From: Retro_Guy Date: Fri, 25 Feb 2022 05:24:57 +0000 Subject: [PATCH] Create link to search name if there is 'data' sent in request --- Rocksolid_Light/rocksolid/newsportal.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rocksolid_Light/rocksolid/newsportal.php b/Rocksolid_Light/rocksolid/newsportal.php index ae17eb8..e27bcc1 100644 --- a/Rocksolid_Light/rocksolid/newsportal.php +++ b/Rocksolid_Light/rocksolid/newsportal.php @@ -1281,7 +1281,7 @@ function create_name_link($name, $data=null) { if($data) { $data = urlencode(base64_encode($data)); } - if (strpos($name, '...@') !== false && (isset($CONFIG['hide_email']) && $CONFIG['hide_email'] == true)) { + if ((strpos($name, '...@') !== false && (isset($CONFIG['hide_email']) && $CONFIG['hide_email'] == true)) && !$data) { $return = ''.substr(htmlspecialchars($name),0,20).''; } else { $return = ''.substr(htmlspecialchars($name),0,20).'';