Skip to content
Snippets Groups Projects
Commit 628ffc0c authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2728815 by klausi: Batch API uses request attributes instead of query in Symfony 3

parent e391a026
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -34,7 +34,7 @@
function _batch_page(Request $request) {
$batch = &batch_get();
if (!($request_id = $request->get('id'))) {
if (!($request_id = $request->query->get('id'))) {
return FALSE;
}
......@@ -61,7 +61,7 @@ function _batch_page(Request $request) {
}
}
$op = $request->get('op', '');
$op = $request->query->get('op', '');
switch ($op) {
case 'start':
case 'do_nojs':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment