From 192cb2cf947ec82a1599b19c678291b234125e13 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 8 Apr 2010 19:54:52 +0000 Subject: - Patch #762770 by jpmckinney: comment_save() has comparison operator where assignment operator should be. --- modules/comment/comment.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/comment/comment.module') diff --git a/modules/comment/comment.module b/modules/comment/comment.module index 113275157..bd737b499 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -1424,7 +1424,7 @@ function comment_save($comment) { // Also see the documentation for comment_view(). if (!empty($comment->thread)) { // Allow calling code to set thread itself. - $thread == $comment->thread; + $thread = $comment->thread; } elseif ($comment->pid == 0) { // This is a comment with no parent comment (depth 0): we start -- cgit v1.2.3