diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc
index 984739e..b0b10ff 100644
--- a/includes/bootstrap.inc
+++ b/includes/bootstrap.inc
@@ -1195,7 +1195,6 @@ function drupal_unpack($obj, $field = 'data') {
  */
 function t($string, array $args = array(), array $options = array()) {
   global $language;
-  static $custom_strings;
 
   // Merge in default.
   if (empty($options['langcode'])) {
@@ -1209,12 +1208,11 @@ function t($string, array $args = array(), array $options = array()) {
   // *instead of* database lookups. This is a high performance way to provide a
   // handful of string replacements. See settings.php for examples.
   // Cache the $custom_strings variable to improve performance.
-  if (!isset($custom_strings[$options['langcode']])) {
-    $custom_strings[$options['langcode']] = variable_get('locale_custom_strings_' . $options['langcode'], array());
-  }
+  $custom_strings = variable_get('locale_custom_strings_' . $options['langcode'], array());
+
   // Custom strings work for English too, even if locale module is disabled.
-  if (isset($custom_strings[$options['langcode']][$options['context']][$string])) {
-    $string = $custom_strings[$options['langcode']][$options['context']][$string];
+  if (isset($custom_strings[$options['context']][$string])) {
+    $string = $custom_strings[$options['context']][$string];
   }
   // Translate with locale module if enabled.
   elseif ($options['langcode'] != 'en' && function_exists('locale')) {
