Skip to content
Snippets Groups Projects
Commit 81e98b85 authored by Florian Azizian's avatar Florian Azizian
Browse files

Fix actionsallowed

parent 6cd7e70d
No related branches found
No related tags found
No related merge requests found
...@@ -73,7 +73,7 @@ class DocumentController ...@@ -73,7 +73,7 @@ class DocumentController
$document['statusDisplay'] = $status['label']; $document['statusDisplay'] = $status['label'];
$actions = ActionModel::get(['select' => ['id', 'label', 'color', 'logo', 'event'], 'where' => ['previous_status_id = ?'], 'data' => [$document['status']]]); $actions = ActionModel::get(['select' => ['id', 'label', 'color', 'logo', 'event'], 'where' => ['previous_status_id = ?'], 'data' => [$document['status']]]);
$document['actionsAllowed'] = $actions[0]; $document['actionsAllowed'] = $actions;
$document['processingUserDisplay'] = UserModel::getLabelledUserById(['id' => $document['processing_user']]); $document['processingUserDisplay'] = UserModel::getLabelledUserById(['id' => $document['processing_user']]);
......
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