Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
project
drupal
Commits
23142e0e
Commit
23142e0e
authored
Jun 23, 2004
by
Dries
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Patch
#8757
by Morbus Iff: fixed redirection after comment moderation.
parent
ae6aa4e5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
modules/comment.module
modules/comment.module
+2
-2
modules/comment/comment.module
modules/comment/comment.module
+2
-2
No files found.
modules/comment.module
View file @
23142e0e
...
...
@@ -854,7 +854,7 @@ function comment_page() {
case
t
(
'Moderate comments'
)
:
case
t
(
'Moderate comment'
)
:
comment_moderate
(
$edit
);
drupal_goto
(
comment_node_url
()
);
drupal_goto
(
'node/'
.
$edit
[
'nid'
]
.
'#comment'
);
break
;
case
'reply'
:
print
theme
(
'page'
,
comment_reply
(
check_query
(
arg
(
3
)),
check_query
(
arg
(
2
))),
t
(
'Add new comment'
));
...
...
@@ -874,7 +874,7 @@ function comment_page() {
$comments_per_page
=
$_POST
[
'comments_per_page'
];
comment_save_settings
(
check_query
(
$mode
),
check_query
(
$order
),
check_query
(
$threshold
),
check_query
(
$comments_per_page
));
drupal_goto
(
comment_node_url
()
);
drupal_goto
(
'node/'
.
$edit
[
'nid'
]
.
'#comment'
);
break
;
}
}
...
...
modules/comment/comment.module
View file @
23142e0e
...
...
@@ -854,7 +854,7 @@ function comment_page() {
case
t
(
'Moderate comments'
)
:
case
t
(
'Moderate comment'
)
:
comment_moderate
(
$edit
);
drupal_goto
(
comment_node_url
()
);
drupal_goto
(
'node/'
.
$edit
[
'nid'
]
.
'#comment'
);
break
;
case
'reply'
:
print
theme
(
'page'
,
comment_reply
(
check_query
(
arg
(
3
)),
check_query
(
arg
(
2
))),
t
(
'Add new comment'
));
...
...
@@ -874,7 +874,7 @@ function comment_page() {
$comments_per_page
=
$_POST
[
'comments_per_page'
];
comment_save_settings
(
check_query
(
$mode
),
check_query
(
$order
),
check_query
(
$threshold
),
check_query
(
$comments_per_page
));
drupal_goto
(
comment_node_url
()
);
drupal_goto
(
'node/'
.
$edit
[
'nid'
]
.
'#comment'
);
break
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment