diff options
author | Dries Buytaert <dries@buytaert.net> | 2006-12-06 15:44:09 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2006-12-06 15:44:09 +0000 |
commit | 627d42673539bf4a7e4f828f9dc7514c53c01e6a (patch) | |
tree | 9584c54dd8fcfa1fbb9d7cd27136a4156b433bc6 /modules/comment | |
parent | a94f95d37f1c76812e003852156ed52f97976d2b (diff) | |
download | brdo-627d42673539bf4a7e4f828f9dc7514c53c01e6a.tar.gz brdo-627d42673539bf4a7e4f828f9dc7514c53c01e6a.tar.bz2 |
- Patch #100836 by webernet: make collapsed comments work again.
Diffstat (limited to 'modules/comment')
-rw-r--r-- | modules/comment/comment.module | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module index 43ee9db86..0607f2931 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -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, + ); } } |