Révision f9d4b898
Ajouté par Assos Assos il y a environ 3 ans
drupal7/sites/all/modules/token/token.tokens.inc | ||
---|---|---|
848 | 848 |
// [array:value:*] dynamic tokens. |
849 | 849 |
if ($value_tokens = token_find_with_prefix($tokens, 'value')) { |
850 | 850 |
foreach ($value_tokens as $key => $original) { |
851 |
if ($key[0] !== '#' && isset($array[$key])) {
|
|
851 |
if (array_key_exists($key, $array) && in_array($key, $keys)) {
|
|
852 | 852 |
$replacements[$original] = token_render_array_value($array[$key], $options); |
853 | 853 |
} |
854 | 854 |
} |
Formats disponibles : Unified diff
Weekly update of contrib modules