Commit 2c7eca50 authored by merlinofchaos's avatar merlinofchaos

Fix for argument handler printing wrong data for node type title

parent 7a300915
......@@ -349,7 +349,8 @@ function views_handler_arg_nodetype($op, &$query, $argtype, $arg = '') {
case 'link':
return l(node_get_name($query->type), "$arg/$query->type");
case 'title':
return $query;
$title = node_get_name($query);
return $title ? $title : check_plain($query);
}
}
......
......@@ -671,7 +671,7 @@ function _views_view_form($view, $op = '') {
'#default_value' => $view->name,
'#size' => 20,
'#maxlength' => 32,
'#description' => t('The unique identifier of the view; it is only important for overridden views and views that modules or themes will need to use.'),
'#description' => t('The unique identifier of the view; it is only important for overridden views and views that modules or themes will need to use. Only alphanumeric and _ allowed here'),
'#required' => true,
);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment