Skip to content
Snippets Groups Projects
Commit 66f80769 authored by Ere Maijala's avatar Ere Maijala Committed by Demian Katz
Browse files

Add a missing array level to error responses from MultiBackend::getStatuses method, (#1240)

parent 1108151f
No related merge requests found
......@@ -220,7 +220,9 @@ class MultiBackend extends AbstractBase implements \Zend\Log\LoggerAwareInterfac
} catch (ILSException $e) {
$statuses = array_map(
function ($id) {
return ['id' => $id, 'error' => 'An error has occurred'];
return [
['id' => $id, 'error' => 'An error has occurred']
];
},
$localIds
);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment