From 954158ad434e21afa9233fdd45021c9b2cf104ab Mon Sep 17 00:00:00 2001 From: Shish Date: Sun, 3 Nov 2019 23:32:55 +0000 Subject: [PATCH] typo --- ext/ipban/main.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/ipban/main.php b/ext/ipban/main.php index 49621a70..bac565a9 100644 --- a/ext/ipban/main.php +++ b/ext/ipban/main.php @@ -250,7 +250,7 @@ class IPBan extends Extension ) { $reason = $row[$prefix.'reason']; $admin = User::by_id($row[$prefix.'banner_id']); - $date = $row['expire']; + $date = $row['expires']; $msg = $config->get_string("ipban_message"); $msg = str_replace('$IP', $ip, $msg); $msg = str_replace('$DATE', $date, $msg);