summaryrefslogtreecommitdiff
path: root/modules/system/system.admin.inc
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-12-31 17:20:20 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-12-31 17:20:20 +0000
commit641fdad0b588595aae7d96189b4cedd633c0c29a (patch)
tree89c6f9354216011ebce4f66b68e290ae2761cc36 /modules/system/system.admin.inc
parent4157a521e0899622509022170c2be89da029c291 (diff)
downloadbrdo-641fdad0b588595aae7d96189b4cedd633c0c29a.tar.gz
brdo-641fdad0b588595aae7d96189b4cedd633c0c29a.tar.bz2
#204420 follow up by webernet: fix bad permission check introduced for update module message
Diffstat (limited to 'modules/system/system.admin.inc')
-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 de8d8fcc2..263b7b671 100644
--- a/modules/system/system.admin.inc
+++ b/modules/system/system.admin.inc
@@ -18,7 +18,7 @@ function system_main_admin_page($arg = NULL) {
}
// Check for status report errors.
- if (system_status(TRUE) && user_access('access site reports')) {
+ if (system_status(TRUE) && user_access('administer site configuration')) {
drupal_set_message(t('One or more problems were detected with your Drupal installation. Check the <a href="@status">status report</a> for more information.', array('@status' => url('admin/reports/status'))), 'error');
}
$blocks = array();