From 61ca50ff1bfcf13592a9ef74e1c7b5b1f379aa2c Mon Sep 17 00:00:00 2001 From: Rushaway Date: Sat, 26 Oct 2024 09:23:46 +0200 Subject: [PATCH] feat: Hide players city for privacy (#10) --- web/pages/playerinfo_general.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/web/pages/playerinfo_general.php b/web/pages/playerinfo_general.php index eac711dc..ea5866a8 100644 --- a/web/pages/playerinfo_general.php +++ b/web/pages/playerinfo_general.php @@ -104,9 +104,10 @@ if ($playerdata['country']) { echo 'Location: '; - if ($playerdata['city']) { - echo htmlspecialchars($playerdata['city'], ENT_COMPAT) . ', '; - } + // Disabled for privacy reason + // if ($playerdata['city']) { + // echo htmlspecialchars($playerdata['city'], ENT_COMPAT) . ', '; + //} echo '" . $playerdata['country'] . ''; } else