1
0
mirror of https://github.com/e107inc/e107.git synced 2025-03-14 09:29:45 +01:00

Fixes #274 - The Banlist admin UI cannot remove bans from the list.

This commit is contained in:
Cameron 2014-05-22 17:09:09 -07:00
parent fd13f915b2
commit 255a449858

View File

@ -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.