diff --git a/core/includes/bootstrap.inc b/core/includes/bootstrap.inc index f460155b5dfb8750a2d896e50aa3c291d08ef319..4532df8446dada1988c4fcb4828386fecc761fba 100644 --- a/core/includes/bootstrap.inc +++ b/core/includes/bootstrap.inc @@ -2719,7 +2719,7 @@ function language_list($flags = LANGUAGE_CONFIGURABLE) { $default = language_default(); if (language_multilingual() || module_exists('language')) { // Use language module configuration if available. - $languages = db_query('SELECT *, 0 as `default` FROM {language} ORDER BY weight ASC, name ASC')->fetchAllAssoc('langcode', PDO::FETCH_ASSOC); + $languages = db_query('SELECT * FROM {language} ORDER BY weight ASC, name ASC')->fetchAllAssoc('langcode', PDO::FETCH_ASSOC); // Initialize default property so callers have an easy reference and can // save the same object without data loss.