Projet

Général

Profil

Révision b0dc3a2e

Ajouté par Julien Enselme il y a plus de 7 ans

Update to Drupal 7.52

Voir les différences:

drupal7/modules/locale/locale.admin.inc
1194 1194
    $translation = db_query("SELECT translation FROM {locales_target} WHERE lid = :lid AND language = :language", array(':lid' => $lid, ':language' => $key))->fetchField();
1195 1195
    if (!empty($value)) {
1196 1196
      // Only update or insert if we have a value to use.
1197
      if (!empty($translation)) {
1197
      if (is_string($translation)) {
1198 1198
        db_update('locales_target')
1199 1199
          ->fields(array(
1200 1200
            'translation' => $value,

Formats disponibles : Unified diff