From 1bfb2283adc7fdbc5d25af270a7bd4c3561568c8 Mon Sep 17 00:00:00 2001 From: Vincent Langlet Date: Sat, 12 Dec 2020 19:31:17 +0100 Subject: [PATCH] Check for _per_page existence --- src/Admin/AbstractAdmin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Admin/AbstractAdmin.php b/src/Admin/AbstractAdmin.php index 0d78d1a599..80666fa528 100644 --- a/src/Admin/AbstractAdmin.php +++ b/src/Admin/AbstractAdmin.php @@ -923,7 +923,7 @@ public function getFilterParameters() } } - if (!$this->determinedPerPageValue($parameters['_per_page'])) { + if (!isset($parameters['_per_page']) || !$this->determinedPerPageValue($parameters['_per_page'])) { $parameters['_per_page'] = $this->getMaxPerPage(); }