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
No related branches found
No related tags found
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 @@ ...@@ -34,7 +34,7 @@
function _batch_page(Request $request) { function _batch_page(Request $request) {
$batch = &batch_get(); $batch = &batch_get();
if (!($request_id = $request->get('id'))) { if (!($request_id = $request->query->get('id'))) {
return FALSE; return FALSE;
} }
...@@ -61,7 +61,7 @@ function _batch_page(Request $request) { ...@@ -61,7 +61,7 @@ function _batch_page(Request $request) {
} }
} }
$op = $request->get('op', ''); $op = $request->query->get('op', '');
switch ($op) { switch ($op) {
case 'start': case 'start':
case 'do_nojs': case 'do_nojs':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment