Skip to content
Snippets Groups Projects
Verified Commit 0182c65c authored by Damien's avatar Damien
Browse files

FEAT #9685 Redirect errors

parent 9adb843d
No related branches found
No related tags found
No related merge requests found
...@@ -244,7 +244,7 @@ class ActionMethodController ...@@ -244,7 +244,7 @@ class ActionMethodController
$controller = ListInstanceController::updateListInstance(['data' => ['resId' => $args['resId'], 'listInstances' => $args['data']], 'userId' => $currentUser['id']]); $controller = ListInstanceController::updateListInstance(['data' => ['resId' => $args['resId'], 'listInstances' => $args['data']], 'userId' => $currentUser['id']]);
if (!empty($controller['errors'])) { if (!empty($controller['errors'])) {
return ['errors' => $controller['errors']]; return ['errors' => [$controller['errors']]];
} }
return true; return true;
......
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