diff --git a/core/modules/views/src/Controller/ViewAjaxController.php b/core/modules/views/src/Controller/ViewAjaxController.php index 0e5109b..401b0f9 100644 --- a/core/modules/views/src/Controller/ViewAjaxController.php +++ b/core/modules/views/src/Controller/ViewAjaxController.php @@ -80,7 +80,8 @@ public function ajaxView(Request $request) { $args = $request->request->get('view_args'); $args = isset($args) && $args !== '' ? explode('/', $args) : array(); - // Replace empty argument strings with NULL. + // Arguments can be empty, make sure they are passed on as NULL so that + // argument validation is not triggered. $args = array_map(function ($arg) { return ($arg == '' ? NULL : $arg); }, $args);