Commit 6dce06fd authored by Krystian Podemski's avatar Krystian Podemski
Browse files

revert strict checking of the active property

parent 6f46db3f
......@@ -2402,7 +2402,7 @@ class AdminControllerCore extends Controller
$this->getList($this->context->language->id);
// 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