Index: openacs-4/packages/bug-tracker/tcl/bug-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/bug-tracker/tcl/bug-procs.tcl,v diff -u -N -r1.38 -r1.39 --- openacs-4/packages/bug-tracker/tcl/bug-procs.tcl 28 Mar 2018 17:00:40 -0000 1.38 +++ openacs-4/packages/bug-tracker/tcl/bug-procs.tcl 8 Apr 2018 05:29:43 -0000 1.39 @@ -922,7 +922,7 @@ set bulk_actions {} if { !$no_bulk_actions_p } { foreach action_id [workflow::get_actions -workflow_id $workflow_id] { - if {[lsearch $enabled_actions_for_this_state $action_id] != -1} { + if {$action_id in $enabled_actions_for_this_state} { # this particular action is enabled # add to bulk actions workflow::action::get -action_id $action_id -array bulk_action_array_info