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.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | workflow_729610_workflow_execute_transition_return_value_1.patch | 500 bytes | dooug |
Comments
Comment #1
dooug commentedAttached 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.
Comment #2
jvandyk commentedCommitted. Will appear in 6.x-1.4.
Comment #3
dooug commentedAwesome response time! Thanks!
And additional thanks for Pro Drupal Development!