summaryrefslogtreecommitdiff
path: root/includes/bootstrap.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/bootstrap.inc')
-rw-r--r--includes/bootstrap.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc
index 023e9e97a..dc9cbfc0b 100644
--- a/includes/bootstrap.inc
+++ b/includes/bootstrap.inc
@@ -1057,7 +1057,7 @@ function language_list($field = 'language', $reset = FALSE) {
// Init language list
if (!isset($languages)) {
- if (module_exists('locale')) {
+ if (variable_get('language_count', 1) > 1 || module_exists('locale')) {
$result = db_query('SELECT * FROM {languages} ORDER BY weight ASC, name ASC');
while ($row = db_fetch_object($result)) {
$languages['language'][$row->language] = $row;