update microcrud
This commit is contained in:
parent
9e084cd615
commit
45351dd7d1
2 changed files with 7 additions and 5 deletions
8
composer.lock
generated
8
composer.lock
generated
|
@ -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",
|
||||
|
|
|
@ -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());
|
||||
}
|
||||
|
|
Reference in a new issue