False code:
// For all possible content types, load the appropriate state machine and
// determine possible states.
foreach ($node_types as $type => $value) {
$machine_type = variable_get('state_flow_' . $type, 'state_flow');
if (!isset($machines[$machine_type])) {
Correct code:
// For all possible content types, load the appropriate state machine and
// determine possible states.
foreach ($node_types as $type => $value) {
$machine_type = variable_get('state_flow_' . $type. 'state_flow');
if (!isset($machines[$machine_type])) {
in file: sites/all/modules/state_machine/modules/state_flow/includes/views/state_flow_handler_filter_state.inc
Comments