@@ -565,7 +565,7 @@ function comment_post($edit) {
// Update the comment in the database. Note that the update
// query will fail if the comment isn't owned by the current
// user.
db_query("UPDATE {comments} SET subject = '%s', comment = '%s', format = '%s' WHERE cid = %d AND uid = '$user->uid'",$edit['subject'],$edit['format'],$edit['comment'],$edit["cid"]);
db_query("UPDATE {comments} SET subject = '%s', comment = '%s', format = '%s' WHERE cid = %d AND uid = '$user->uid'",$edit['subject'],$edit['comment'],$edit['format'],$edit["cid"]);
_comment_update_node_statistics($edit['nid']);
...
...
@@ -791,7 +791,7 @@ function comment_render($node, $cid = 0) {
@@ -565,7 +565,7 @@ function comment_post($edit) {
// Update the comment in the database. Note that the update
// query will fail if the comment isn't owned by the current
// user.
db_query("UPDATE {comments} SET subject = '%s', comment = '%s', format = '%s' WHERE cid = %d AND uid = '$user->uid'",$edit['subject'],$edit['format'],$edit['comment'],$edit["cid"]);
db_query("UPDATE {comments} SET subject = '%s', comment = '%s', format = '%s' WHERE cid = %d AND uid = '$user->uid'",$edit['subject'],$edit['comment'],$edit['format'],$edit["cid"]);
_comment_update_node_statistics($edit['nid']);
...
...
@@ -791,7 +791,7 @@ function comment_render($node, $cid = 0) {