Commit 627d4267 authored by Dries's avatar Dries
Browse files

- Patch #100836 by webernet: make collapsed comments work again.

parent a94f95d3
......@@ -139,9 +139,13 @@ function comment_menu($may_cache) {
}
}
if ((arg(0) == 'node') && is_numeric(arg(1)) && is_numeric(arg(2))) {
$items[] = array('path' => ('node/'. arg(1) .'/'. arg(2)), 'title' => t('View'),
'callback' => 'node_page',
'type' => MENU_CALLBACK);
$items[] = array(
'path' => ('node/'. arg(1) .'/'. arg(2)),
'title' => t('View'),
'callback' => 'node_page_view',
'callback arguments' => array(node_load(arg(1)), arg(2)),
'type' => MENU_CALLBACK,
);
}
}
......
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