Commit 6da30cc2 authored by Dries's avatar Dries

Issue #1788608 by bfr: system_modules_confirm_form(), line 1079, if () is always true.

parent 4e4ea71e
......@@ -1076,17 +1076,16 @@ function system_modules_confirm_form($modules, $storage) {
$form['text'] = array('#markup' => theme('item_list', array('items' => $items)));
if ($form) {
// Set some default form values
$form = confirm_form(
$form,
t('Some required modules must be enabled'),
'admin/modules',
t('Would you like to continue with the above?'),
t('Continue'),
t('Cancel'));
return $form;
}
$form = confirm_form(
$form,
t('Some required modules must be enabled'),
'admin/modules',
t('Would you like to continue with the above?'),
t('Continue'),
t('Cancel'));
return $form;
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment