summaryrefslogtreecommitdiff
path: root/modules/system
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-05-03 07:35:37 +0000
committerDries Buytaert <dries@buytaert.net>2009-05-03 07:35:37 +0000
commitac5e86e05cf4647a9ecf37d6978fa04ed1b89e24 (patch)
tree5ab4624edcf915267c3cf8171b609521e3e3e72a /modules/system
parentcdb326fc741b77ec2ba2699baec6f7770b6b02b1 (diff)
downloadbrdo-ac5e86e05cf4647a9ecf37d6978fa04ed1b89e24.tar.gz
brdo-ac5e86e05cf4647a9ecf37d6978fa04ed1b89e24.tar.bz2
- Patch #329015 by Damien Tournoud: improved error handling of batch API.
Diffstat (limited to 'modules/system')
-rw-r--r--modules/system/system.admin.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc
index fac8ab919..3d4b38f40 100644
--- a/modules/system/system.admin.inc
+++ b/modules/system/system.admin.inc
@@ -1268,11 +1268,11 @@ function system_logging_settings() {
$form['error_level'] = array(
'#type' => 'radios',
'#title' => t('Display PHP messages'),
- '#default_value' => 2,
+ '#default_value' => ERROR_REPORTING_DISPLAY_ALL,
'#options' => array(
- 0 => t('None'),
- 1 => t('Errors and warnings'),
- 2 => t('All messages'),
+ ERROR_REPORTING_HIDE => t('None'),
+ ERROR_REPORTING_DISPLAY_SOME => t('Errors and warnings'),
+ ERROR_REPORTING_DISPLAY_ALL => t('All messages'),
),
);