Projet

Général

Profil

Révision cd5c298a

Ajouté par Geoffroy Desvernay il y a plus de 5 ans

MAJ 7.60 -> 7.62

Voir les différences:

drupal7/modules/image/image.admin.inc
736 736
    if (!isset($form[$key]['#access']) || $form[$key]['#access']) {
737 737
      $rows[] = array(
738 738
        'data' => $row,
739
        'class' => !empty($form[$key]['weight']['#access']) || $key == 'new' ? array('draggable') : array(),
739
        // Use a strict (===) comparison since $key can be 0.
740
        'class' => !empty($form[$key]['weight']['#access']) || $key === 'new' ? array('draggable') : array(),
740 741
      );
741 742
    }
742 743
  }

Formats disponibles : Unified diff