Projet

Général

Profil

Révision 6e3ce7c2

Ajouté par Assos Assos il y a environ 3 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/ctools/includes/context.inc
1416 1416
    if (is_array($rdata['context'])) {
1417 1417
      $rcontexts = array();
1418 1418
      foreach ($rdata['context'] as $cid) {
1419
        if (empty($contexts[$cid])) {
1420
          continue 2;
1419
        if (!empty($contexts[$cid])) {
1420
          $rcontexts[] = $contexts[$cid];
1421 1421
        }
1422
        $rcontexts[] = $contexts[$cid];
1423 1422
      }
1424 1423
    }
1425
    else {
1426
      if (empty($contexts[$rdata['context']])) {
1427
        continue;
1428
      }
1424
    elseif (!empty($contexts[$rdata['context']])) {
1429 1425
      $rcontexts = $contexts[$rdata['context']];
1430 1426
    }
1431 1427

  

Formats disponibles : Unified diff