diff --git a/core/modules/locale/locale.module b/core/modules/locale/locale.module index 7fd3a04..a32d47d 100644 --- a/core/modules/locale/locale.module +++ b/core/modules/locale/locale.module @@ -264,7 +264,7 @@ function locale($string = NULL, $context = NULL, $langcode = NULL) { // actually enabled and its database tables are installed. Since PHP code // cannot be unloaded, this is typically the case in the environment that // is executing a test. - if (!isset($locale_exits)) { + if (!isset($locale_exists)) { $locale_exists = function_exists('module_exists') && module_exists('locale'); } if (!$locale_exists) {