Révision 01f36513
Ajouté par Assos Assos il y a environ 6 ans
drupal7/sites/all/modules/webform/webform.tokens.inc | ||
---|---|---|
241 | 241 |
if (strcmp($name, $matched_token) !== 0) { |
242 | 242 |
// Check if this matches the key plus a modifier. |
243 | 243 |
$modifier = substr($name, strrpos($name, ':') + 1); |
244 |
// TODO: Allow components to provide additional modifiers per
|
|
244 |
// @todo: Allow components to provide additional modifiers per
|
|
245 | 245 |
// type, i.e. key, day, hour, minute, etc. |
246 | 246 |
if (strcmp($name, $matched_token . ':' . $modifier) !== 0 || !in_array($modifier, $available_modifiers)) { |
247 | 247 |
// No match. |
Formats disponibles : Unified diff
Weekly update of contrib modules