From 255a44985856d2a03aa46ba4d719e35f61d2de11 Mon Sep 17 00:00:00 2001 From: Cameron Date: Thu, 22 May 2014 17:09:09 -0700 Subject: [PATCH] Fixes #274 - The Banlist admin UI cannot remove bans from the list. --- e107_admin/banlist.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e107_admin/banlist.php b/e107_admin/banlist.php index 00be1c7d9..e0b5086b4 100644 --- a/e107_admin/banlist.php +++ b/e107_admin/banlist.php @@ -90,7 +90,7 @@ class banlist_ui extends e_admin_ui protected $pluginTitle = BANLAN_16; // protected $pluginName = 'myplugin'; protected $table = 'banlist'; - protected $pid = 'banlist_ip'; + protected $pid = 'banlist_datestamp'; //XXX Not Ideal - From Cam: Should we add a primary ID field to the banlist table? protected $perPage = 10; //FIXME banlist_ip should be data => 'str' - however, edit link will not contain a value for 'id' when this is the case.