#57864, required modules shoudl not be throttled, patch by Markus Petrux

4.7.x
Gerhard Killesreiter 2006-04-08 16:05:54 +00:00
parent 8e1e221e30
commit a6cb8d7adb
2 changed files with 2 additions and 2 deletions

View File

@ -936,7 +936,7 @@ function system_modules() {
$form['throttle'] = array('#type' => 'checkboxes', '#default_value' => $throttle, '#options' => $options); $form['throttle'] = array('#type' => 'checkboxes', '#default_value' => $throttle, '#options' => $options);
$throttle_required = array_merge($required, array('throttle')); $throttle_required = array_merge($required, array('throttle'));
foreach ($throttle_required as $require) { foreach ($throttle_required as $require) {
$form['throttle'][$require] = array('#type' => 'hidden', '#value' => 1, '#suffix' => t('required')); $form['throttle'][$require] = array('#type' => 'hidden', '#value' => 0, '#suffix' => t('required'));
} }
} }

View File

@ -936,7 +936,7 @@ function system_modules() {
$form['throttle'] = array('#type' => 'checkboxes', '#default_value' => $throttle, '#options' => $options); $form['throttle'] = array('#type' => 'checkboxes', '#default_value' => $throttle, '#options' => $options);
$throttle_required = array_merge($required, array('throttle')); $throttle_required = array_merge($required, array('throttle'));
foreach ($throttle_required as $require) { foreach ($throttle_required as $require) {
$form['throttle'][$require] = array('#type' => 'hidden', '#value' => 1, '#suffix' => t('required')); $form['throttle'][$require] = array('#type' => 'hidden', '#value' => 0, '#suffix' => t('required'));
} }
} }