diff options
-rw-r--r-- | includes/bootstrap.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc index 1e446f01b..c2c8e7eba 100644 --- a/includes/bootstrap.inc +++ b/includes/bootstrap.inc @@ -1429,7 +1429,7 @@ function t($string, array $args = array(), array $options = array()) { $string = $custom_strings[$options['langcode']][$options['context']][$string]; } // Translate with locale module if enabled. - elseif (function_exists('locale') && $options['langcode'] != 'en') { + elseif ($options['langcode'] != 'en' && function_exists('locale')) { $string = locale($string, $options['context'], $options['langcode']); } if (empty($args)) { |