summaryrefslogtreecommitdiff
path: root/modules/comment
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-04-08 19:54:52 +0000
committerDries Buytaert <dries@buytaert.net>2010-04-08 19:54:52 +0000
commit192cb2cf947ec82a1599b19c678291b234125e13 (patch)
treedd47f4cae04b68d3bbcd13efd8cd64a025b1a4bd /modules/comment
parent9e236ef13f0722f1140c9f5f6cf6346bcfc24b1a (diff)
downloadbrdo-192cb2cf947ec82a1599b19c678291b234125e13.tar.gz
brdo-192cb2cf947ec82a1599b19c678291b234125e13.tar.bz2
- Patch #762770 by jpmckinney: comment_save() has comparison operator where assignment operator should be.
Diffstat (limited to 'modules/comment')
-rw-r--r--modules/comment/comment.module2
1 files changed, 1 insertions, 1 deletions
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