diff options
author | Dries Buytaert <dries@buytaert.net> | 2006-08-19 21:40:58 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2006-08-19 21:40:58 +0000 |
commit | e14c3aa6c0707c18005146f5311f0db0d5a1af3f (patch) | |
tree | 088efef0b3d9fdf284a5d4b02d07f7440da866dd /modules/comment/comment.module | |
parent | 49481f68f4573b862aa184a46690d1ec987dd244 (diff) | |
download | brdo-e14c3aa6c0707c18005146f5311f0db0d5a1af3f.tar.gz brdo-e14c3aa6c0707c18005146f5311f0db0d5a1af3f.tar.bz2 |
- Patch #79498 by Eaton: fixed editing comments and nodes.
Diffstat (limited to 'modules/comment/comment.module')
-rw-r--r-- | modules/comment/comment.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module index 3547d2d61..7aaed2fc7 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -136,8 +136,8 @@ function comment_menu($may_cache) { $access = user_access('post comments'); $items[] = array('path' => 'comment/edit', 'title' => t('edit comment'), - 'callback' => 'drupal_get_form', - 'callback arguments' => array('comment_edit'), 'access' => $access, 'type' => MENU_CALLBACK); + 'callback' => 'comment_edit', + 'access' => $access, 'type' => MENU_CALLBACK); } else { if (arg(0) == 'comment' && arg(1) == 'reply' && is_numeric(arg(2))) { |