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
No related merge requests found
......@@ -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.
Finish editing this message first!
Please register or to comment