summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--includes/locale.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/locale.inc b/includes/locale.inc
index d59a00228..a97d3497a 100644
--- a/includes/locale.inc
+++ b/includes/locale.inc
@@ -71,7 +71,7 @@ function theme_locale_languages_overview_form($form) {
if (is_array($element) && element_child($key)) {
// Disable checkbox for the default language, because it cannot be disabled.
if ($key == $default->language) {
- $form['enabled'][$key]['#attributes']['disabled'] = TRUE;
+ $form['enabled'][$key]['#attributes']['disabled'] = 'disabled';
}
$rows[] = array(
array('data' => drupal_render($form['enabled'][$key]), 'align' => 'center'),