The workflow_execute_transition function indicates that has a return value of the state id of the new state in the function documentation. However, the function never returns anything on a successful transition.

Comments

dooug’s picture

Attached is a patch for the workflow_execute_transition function to return the new state id on successful transition. The rest of the module doesn't seem to use this, but the function documentation indicated it.

jvandyk’s picture

Version: 6.x-1.3 » 6.x-1.x-dev
Status: Needs review » Fixed

Committed. Will appear in 6.x-1.4.

dooug’s picture

Awesome response time! Thanks!

And additional thanks for Pro Drupal Development!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.