--- workflow.module	2008-04-23 10:08:53.000000000 -0500
+++ workflow.module	2008-04-23 10:09:24.000000000 -0500
@@ -1619,7 +1619,7 @@ function workflow_get_states($wid = NULL
  */
 function workflow_get_state($sid) {
   $state = array();
-  $result = db_query('SELECT wid, state, weight, sysid FROM {workflow_states} WHERE sid = %d', $sid);
+  $result = db_query('SELECT wid, state, weight, sysid, status FROM {workflow_states} WHERE sid = %d', $sid);
   while ($data = db_fetch_object($result)) {
     $state['wid'] = $data->wid;
     $state['state'] = $data->state;
