Unverified Commit cf11d52d authored by Mathieu Ferment's avatar Mathieu Ferment Committed by GitHub
Browse files

Merge pull request #28185 from kpodemski/fix/not-available-bulk-actions

Revert a change that caused a problem with bulk actions on the lists
parents 6f46db3f 6dce06fd
......@@ -2402,7 +2402,7 @@ class AdminControllerCore extends Controller
// If list has 'active' field, we automatically create bulk action
if (array_key_exists('active', $this->fields_list) && $this->fields_list['active'] === true) {
if (array_key_exists('active', $this->fields_list) && $this->fields_list['active'] == true) {
if (!is_array($this->bulk_actions)) {
$this->bulk_actions = [];
Supports Markdown
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