- My filter commit accidentically broke the comment submission which is now
fixed. Patch by Al.4.2.x
parent
3f2dd95405
commit
c3119d1f18
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue