diff --git a/composer.lock b/composer.lock index 484adf4f..efdadcd8 100644 --- a/composer.lock +++ b/composer.lock @@ -388,12 +388,12 @@ "source": { "type": "git", "url": "https://github.com/shish/microcrud.git", - "reference": "8c468bf36554ae1d3cc24ddc4059ebac2e965ef1" + "reference": "41a8aea2af6441c212467670776dc182518c5ff4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/shish/microcrud/zipball/8c468bf36554ae1d3cc24ddc4059ebac2e965ef1", - "reference": "8c468bf36554ae1d3cc24ddc4059ebac2e965ef1", + "url": "https://api.github.com/repos/shish/microcrud/zipball/41a8aea2af6441c212467670776dc182518c5ff4", + "reference": "41a8aea2af6441c212467670776dc182518c5ff4", "shasum": "" }, "require": { @@ -429,7 +429,7 @@ "crud", "generator" ], - "time": "2019-11-27T19:39:01+00:00" + "time": "2019-11-28T15:23:53+00:00" }, { "name": "shish/microhtml", diff --git a/ext/ipban/main.php b/ext/ipban/main.php index fca96b24..0fe126b9 100644 --- a/ext/ipban/main.php +++ b/ext/ipban/main.php @@ -109,7 +109,9 @@ class IPBan extends Extension } elseif ($event->get_arg(0) == "list") { $_GET['c_banner'] = $user->name; $_GET['c_added'] = date('Y-m-d'); - $t = new IPBanTable($database->raw_db(), $user->get_auth_token()); + $t = new IPBanTable($database->raw_db()); + $t->token = $user->get_auth_token(); + $t->inputs = $_GET; $table = $t->table($t->query()); $this->theme->display_bans($page, $table, $t->paginator()); }