Révision 4003efde
Ajouté par Assos Assos il y a environ 4 ans
drupal7/sites/all/modules/views/handlers/views_handler_field.inc | ||
---|---|---|
159 | 159 |
'@identifier' => $identifier, |
160 | 160 |
'@table' => $info['table'], |
161 | 161 |
); |
162 |
debug(t('Handler @handler tried to add additional_field @identifier but @table could not be added!', $t_args));
|
|
162 |
debug(t('Handler @handler tried to add additional field @identifier but @table could not be added.', $t_args));
|
|
163 | 163 |
$this->aliases[$identifier] = 'broken'; |
164 | 164 |
continue; |
165 | 165 |
} |
... | ... | |
1249 | 1249 |
// displays such as XML where we should not mess with tags. |
1250 | 1250 |
$value = $alter['text']; |
1251 | 1251 |
$value = strtr($value, $tokens); |
1252 |
// User might already used '%5B' and '%5D' instead of literal [ and ]. |
|
1253 |
// After token replacements, we need to convert those codes to literal |
|
1254 |
// square bracket characters. Otherwise problems like comment #5 and #6 of |
|
1255 |
// https://www.drupal.org/node/578772 will happen. |
|
1256 |
// We could have used rawurldecode() also, but not sure about the consequences. |
|
1257 |
$value = strtr($value, array('%5B' => '[', '%5D' => ']')); |
|
1252 | 1258 |
|
1253 | 1259 |
return $value; |
1254 | 1260 |
} |
Formats disponibles : Unified diff
Weekly update of contrib modules