Hi all,

I am trying to convert queue module from 4.6 to 4.7
The problem I have is I am not able to convert the following code from 4.6 to 4.7.
I tried form updater at http://www.lullabot.com/formupdater, but it does not return anything.
Can anyone help me please?

Here is the code that needs to be converted from 4.6 to 4.7:

Drupal 4.6:

 $output .= form_item(t('Show comments'), form_checkbox(t('Enabled'), 'queue_show_comments', 1, variable_get('queue_show_comments', 1)), t('Tick the box to show comments below the moderation form.'));

Drupal 4.7:

$output .= $form[] = array(
'#type' => 'item',
'#title' => t('Show comments'),
'#default_value' => form_checkbox(t('Enabled'), 'queue_show_comments', 1, variable_get('queue_show_comments', 1)),
'#description' => t('Tick the box to show comments below the moderation form.'),
);

Particularly, form_checkbox(....) is causing problem.

Delf.