- My filter commit accidentically broke the comment submission which is now

fixed.  Patch by Al.
4.2.x
Dries Buytaert 2003-05-29 08:21:00 +00:00
parent 3f2dd95405
commit c3119d1f18
2 changed files with 10 additions and 2 deletions

View File

@ -160,6 +160,10 @@ function comment_reply($pid, $nid) {
function comment_preview($edit) {
global $user;
foreach ($edit as $key => $value) {
$comment->$key = $value;
}
/*
** Attach the user and time information:
*/
@ -359,7 +363,7 @@ function comment_view($comment, $links = "", $visible = 1) {
print "<a name=\"$comment->cid\"></a>\n";
if ($visible) {
$comment->comment = check_output($comment);
$comment->comment = check_output($comment->comment);
theme("comment", $comment, $links);
}
else {

View File

@ -160,6 +160,10 @@ function comment_reply($pid, $nid) {
function comment_preview($edit) {
global $user;
foreach ($edit as $key => $value) {
$comment->$key = $value;
}
/*
** Attach the user and time information:
*/
@ -359,7 +363,7 @@ function comment_view($comment, $links = "", $visible = 1) {
print "<a name=\"$comment->cid\"></a>\n";
if ($visible) {
$comment->comment = check_output($comment);
$comment->comment = check_output($comment->comment);
theme("comment", $comment, $links);
}
else {