From 04bfaa106b83b146640768ef1d16fe098947c2de Mon Sep 17 00:00:00 2001 From: SteveD Date: Thu, 13 Dec 2012 20:19:03 +0000 Subject: [PATCH] Should fix residual notice with issue #16 --- e107_handlers/iphandler_class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e107_handlers/iphandler_class.php b/e107_handlers/iphandler_class.php index 2d973c394..6c51c19a5 100644 --- a/e107_handlers/iphandler_class.php +++ b/e107_handlers/iphandler_class.php @@ -455,7 +455,7 @@ class eIPHandler { // Match found if (($val['time_limit'] == 0) || ($val['time_limit'] > $now)) { // Indefinite ban, or timed ban (not expired) or whitelist entry - if ($val['action']== BAN_TYPE_LEGACY) return BAN_TYPE_MANUAL; // Precautionary + if ($val['action']== eIPHandler::BAN_TYPE_LEGACY) return eIPHandler::BAN_TYPE_MANUAL; // Precautionary $this->matchAddress = $val['ip']; return $val['action']; // OK to just return - PHP should release the memory used by $checkLists }