Index: node.module =================================================================== RCS file: /cvs/drupal/drupal/modules/node.module,v retrieving revision 1.455 diff -u -r1.455 node.module --- node.module 31 Jan 2005 20:45:10 -0000 1.455 +++ node.module 31 Jan 2005 21:38:26 -0000 @@ -850,7 +850,9 @@ $group = form_textarea(t('Explanation or submission guidelines'), $type .'_help', variable_get($type .'_help', ''), 70, 5, t('This text will be displayed at the top of the %type submission form. It is useful for helping or instructing your users.', array('%type' => node_invoke($type, 'node_name')))); $group .= form_select(t('Minimum number of words'), 'minimum_'. $type .'_size', variable_get('minimum_'. $type .'_size', 0), drupal_map_assoc(array(0, 10, 25, 50, 75, 100, 125, 150, 175, 200)), t('The minimum number of words a %type must be to be considered valid. This can be useful to rule out submissions that do not meet the site\'s standards, such as short test posts.', array('%type' => node_invoke($type, 'node_name')))); $output = form_group(t('Submission form'), $group); - $output .= form_group(t('Workflow'), implode('', node_invoke_nodeapi($type, 'settings'))); + $nodeproxy = new stdClass(); + $nodeproxy->type = $type; + $output .= form_group(t('Workflow'), implode('', node_invoke_nodeapi($nodeproxy, 'settings'))); print theme('page', system_settings_form($output)); }