mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-03 11:55:52 +01:00
Force a null order when empty in the post request
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
# v1.8.4
|
||||
## mm/dd/2018
|
||||
|
||||
1. [](#bugfix)
|
||||
* Force a `null` order when empty in the post request
|
||||
|
||||
# v1.8.3
|
||||
## 05/31/2018
|
||||
|
||||
|
||||
@@ -1576,7 +1576,7 @@ class AdminController extends AdminBaseController
|
||||
{
|
||||
$this->uri = $this->uri ?: $this->grav['uri'];
|
||||
$uri = $this->uri->post('uri');
|
||||
$order = $this->uri->post('order');
|
||||
$order = $this->uri->post('order') ?: null;
|
||||
|
||||
if ($uri) {
|
||||
/** @var UniformResourceLocator $locator */
|
||||
|
||||
Reference in New Issue
Block a user