summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-11-23 08:23:45 +0000
committerDries Buytaert <dries@buytaert.net>2005-11-23 08:23:45 +0000
commitbd2d91807e815a5ac29915788a454ec5f2783d17 (patch)
tree410e5343c74239a42316a7e3484c6cbb1224f41d
parent5736cc3e94ea5d3fd64e76324c1edc9d356accc5 (diff)
downloadbrdo-bd2d91807e815a5ac29915788a454ec5f2783d17.tar.gz
brdo-bd2d91807e815a5ac29915788a454ec5f2783d17.tar.bz2
- Patch #38575 by Neil: fixed infinite loop in comment.module.
-rw-r--r--modules/comment.module2
-rw-r--r--modules/comment/comment.module2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/comment.module b/modules/comment.module
index 69727bd10..36f81ac93 100644
--- a/modules/comment.module
+++ b/modules/comment.module
@@ -1181,7 +1181,7 @@ function comment_form($edit, $title = NULL) {
return theme('box', $title, drupal_get_form('comment_form', $form));
}
-function comment_form_add_preview($form_id, $form, $edit) {
+function comment_form_add_preview($form, $edit) {
global $user;
$output = '';
diff --git a/modules/comment/comment.module b/modules/comment/comment.module
index 69727bd10..36f81ac93 100644
--- a/modules/comment/comment.module
+++ b/modules/comment/comment.module
@@ -1181,7 +1181,7 @@ function comment_form($edit, $title = NULL) {
return theme('box', $title, drupal_get_form('comment_form', $form));
}
-function comment_form_add_preview($form_id, $form, $edit) {
+function comment_form_add_preview($form, $edit) {
global $user;
$output = '';