summaryrefslogtreecommitdiff
path: root/modules/system
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2008-09-27 05:07:40 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2008-09-27 05:07:40 +0000
commit8f1728dc15b657478e7a7bd61a36ee7a6a77e3a4 (patch)
treef4ef6ace8167ce2f06c6c44e562ba18d1af93161 /modules/system
parenteb6cb31590c91e21bade09a6f2d98eddc1bb33b5 (diff)
downloadbrdo-8f1728dc15b657478e7a7bd61a36ee7a6a77e3a4.tar.gz
brdo-8f1728dc15b657478e7a7bd61a36ee7a6a77e3a4.tar.bz2
#229129 part 2 of 1,342 by chx: Hide Core - Required modules from module page entirely, to get around nasty bug that allows them to be disabled.
Diffstat (limited to 'modules/system')
-rw-r--r--modules/system/system.admin.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc
index 00bd3a185..ca7c2acd2 100644
--- a/modules/system/system.admin.inc
+++ b/modules/system/system.admin.inc
@@ -688,7 +688,7 @@ function system_modules($form_state = array()) {
'#type' => 'fieldset',
'#title' => t($package),
'#collapsible' => TRUE,
- '#collapsed' => ($package == 'Core - required'),
+ '#access' => ($package != 'Core - required'),
'#theme' => 'system_modules_fieldset',
'#header' => array(
array('data' => t('Enabled'), 'class' => 'checkbox'),