From c51745bc2ddc268852b3cf4357b11b7e13b48bd5 Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Tue, 30 Apr 2024 16:23:36 +0700 Subject: [PATCH] Revert "Update modcp.php" This reverts commit e959c5140cdf1eeb532533cf71e9bc1d0d180e63. --- modcp.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modcp.php b/modcp.php index acd7390f..b9ffa8f2 100644 --- a/modcp.php +++ b/modcp.php @@ -695,7 +695,7 @@ switch ($mode) $template->assign_vars(array( 'TPL_MODCP_IP' => true, - 'IP' => (verify_ip($ip_this_post)) ? '' . $ip_this_post . '' : htmlCHR($ip_this_post), + 'IP' => (verify_ip($ip_this_post)) ? '' . $ip_this_post . '' : $ip_this_post, 'U_LOOKUP_IP' => (!$no_lookup) ? "modcp.php?mode=ip&" . POST_POST_URL . "=$post_id&" . POST_TOPIC_URL . "=$topic_id&rdns=$ip_this_post&sid=" . $userdata['session_id'] : '', )); unset($no_lookup); @@ -734,7 +734,7 @@ switch ($mode) $template->assign_block_vars('iprow', array( 'ROW_CLASS' => !($i % 2) ? 'row4' : 'row5', - 'IP' => (verify_ip($ip)) ? '' . $ip . '' : htmlCHR($ip), + 'IP' => (verify_ip($ip)) ? '' . $ip . '' : $ip, 'POSTS' => $row['postings'], 'U_LOOKUP_IP' => (!$no_lookup) ? "modcp.php?mode=ip&" . POST_POST_URL . "=$post_id&" . POST_TOPIC_URL . "=$topic_id&rdns=" . $ip . "&sid=" . $userdata['session_id'] : '', ));