From 4dfca978c8397147a7c7cfdf33ce81b81dbff01c Mon Sep 17 00:00:00 2001 From: Git Date: Fri, 11 Sep 2015 08:00:26 +0000 Subject: [PATCH] Empty commit --- sections/user/takemoderate.php | 4 ++++ sections/userhistory/ip_history.php | 7 +++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/sections/user/takemoderate.php b/sections/user/takemoderate.php index 638c7c16..d7538ee0 100644 --- a/sections/user/takemoderate.php +++ b/sections/user/takemoderate.php @@ -212,6 +212,10 @@ UPDATE users_history_passkeys SET ChangerIP = '' WHERE UserID = $UserID"); + $DB->query(" + UPDATE users_sessions + SET IP = '127.0.0.1' + WHERE UserID = $UserID"); $EditSummary[] = 'IP history cleared'; } diff --git a/sections/userhistory/ip_history.php b/sections/userhistory/ip_history.php index 20d53d58..da1c3aa5 100644 --- a/sections/userhistory/ip_history.php +++ b/sections/userhistory/ip_history.php @@ -121,6 +121,7 @@ function UnBan(ip, id, elemID) { LIMIT $Limit"); } + if (isset($QueryID)) { $DB->query('SELECT FOUND_ROWS()'); list($NumResults) = $DB->next_record(); @@ -172,13 +173,15 @@ function UnBan(ip, id, elemID) {

IP address history for

- +