Projet

Général

Profil

Révision c304a780

Ajouté par Assos Assos il y a environ 6 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/ctools/views_content/plugins/relationships/view_from_argument.inc
73 73
    foreach ($data->display_handler->get_argument_input() as $id => $argument) {
74 74
      if ($argument['type'] == 'context') {
75 75
        $key = array_shift($context_keys);
76
        if (isset($contexts [$key])) {
76
        if (isset($contexts[$key])) {
77 77
          if (strpos($argument['context'], '.')) {
78 78
            list($context, $converter) = explode('.', $argument['context'], 2);
79 79
            $args[] = ctools_context_convert_context($contexts[$key], $converter, array('sanitize' => FALSE));
......
84 84
        }
85 85
      }
86 86
    }
87
    // remove any trailing NULL arguments as these are non-args:
87
    // Remove any trailing NULL arguments as these are non-args:
88 88
    while (count($args) && end($args) === NULL) {
89 89
      array_pop($args);
90 90
    }

Formats disponibles : Unified diff