Projet

Général

Profil

Révision 3115e37e

Ajouté par Assos Assos il y a plus de 5 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/i18n/i18n_string/i18n_string.inc
1498 1498
      foreach ($context as $key => $value) {
1499 1499
        if ($value != '*') {
1500 1500
          $try = array_merge($context, array($key => '*'));
1501
          return $this->multiple_cache_get($try);
1501
          $cached_results = $this->multiple_cache_get($try);
1502
          // Now filter the ones that actually match.
1503
          if (!empty($cached_results)) {
1504
            $cached_results = $this->string_filter($cached_results, $context);
1505
          }
1506
          return $cached_results;
1502 1507
        }
1503 1508
      }
1504 1509
    }

Formats disponibles : Unified diff