Commit a6cb8d7a authored by Gerhard Killesreiter's avatar Gerhard Killesreiter
Browse files

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

parent 8e1e221e
...@@ -936,7 +936,7 @@ function system_modules() { ...@@ -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'));
} }
} }
......
...@@ -936,7 +936,7 @@ function system_modules() { ...@@ -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'));
} }
} }
......
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