From ac5e86e05cf4647a9ecf37d6978fa04ed1b89e24 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 3 May 2009 07:35:37 +0000 Subject: - Patch #329015 by Damien Tournoud: improved error handling of batch API. --- modules/system/system.admin.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/system') 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'), ), ); -- cgit v1.2.3