diff --git a/core/modules/views/views.tokens.inc b/core/modules/views/views.tokens.inc index b13a544..9128744 100644 --- a/core/modules/views/views.tokens.inc +++ b/core/modules/views/views.tokens.inc @@ -81,7 +81,7 @@ function views_tokens($type, $tokens, array $data = array(), array $options = ar foreach ($tokens as $name => $original) { switch ($name) { - case 'name': + case 'label': $replacements[$original] = $sanitize ? check_plain($view->storage->label()) : $view->storage->label(); break;