diff --git a/includes/workbench_access_handler_filter_access.inc b/includes/workbench_access_handler_filter_access.inc index 61cfff2..18e6a4e 100644 --- a/includes/workbench_access_handler_filter_access.inc +++ b/includes/workbench_access_handler_filter_access.inc @@ -139,7 +139,8 @@ class workbench_access_handler_filter_access extends views_handler_filter_many_t // show those nodes if no sections are selected. if (!empty($node_types)) { // Ensure that the node table is present. - $table = $this->query->add_table('node'); + $table = 'node'; + $this->query->add_table($table); // Set the group condition. // To properly handle nodes by type, we must create our own query group. $group = $this->query->set_where_group('OR', 'wa_group');