diff options
Diffstat (limited to 'modules/locale')
-rw-r--r-- | modules/locale/locale.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/locale/locale.module b/modules/locale/locale.module index 7b22ca5c4..dd4c88093 100644 --- a/modules/locale/locale.module +++ b/modules/locale/locale.module @@ -240,7 +240,7 @@ function locale_supported_languages($reset = FALSE, $getall = FALSE) { unset($enabled); unset($all); } - if (is_null($enabled)) { + if (!isset($enabled)) { $enabled = $all = array(); $all['name'] = $all['formula'] = $enabled['name'] = $enabled['formula'] = array(); $result = db_query('SELECT locale, name, formula, enabled FROM {locales_meta} ORDER BY isdefault DESC, enabled DESC, name ASC'); |