Project

General

Profile

Revision 6e3ce7c2

Added by Assos Assos over 3 years ago

Weekly update of contrib modules

View differences:

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

  

Also available in: Unified diff