Skip to content
Snippets Groups Projects

Issue #3448518: Solved the issue of null value.

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -25,7 +25,7 @@ class RoleSelection extends DefaultSelection {
$configuration = $this->getConfiguration();
$role_array = $configuration['roles'];
$role_array = $configuration['entity']->getRoles();
// Remove keys with a value of 0.
$role_array = array_filter($role_array, function ($value) {
return $value !== 0;
Loading