Skip to content
Snippets Groups Projects
Commit b6de086a authored by Tim Steiner's avatar Tim Steiner
Browse files

fix to admin area to properly display queue action options

parent 26df12f8
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,9 @@ $currentSave = $current;
$current['id'] = '';
$current['value'] = null;
$current['approvalRoles'] = $this->chain->ownerBody->roles->columnToArray('name', 'approvalBodyRoleId');
if ($this->chain->ownerBody->roles) {
$current['approvalRoles'] = $this->chain->ownerBody->roles->columnToArray('name', 'approvalBodyRoleId');
}
$current['selectedRoleId'] = null;
if ($approvalAction) {
$current['keyPrefix'] = 'edit[' . $approvalAction->getPrimaryKey() . '][';
......
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