From c94a2dabb012b7ec0f9705f405e9f5f4ee3c75bd Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 22 Feb 2006 19:02:58 +0000 Subject: - Patch #50755 by markus: = -> ==. --- 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 855ed2e81..2fa9bdfb1 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -610,7 +610,7 @@ function comment_save($edit) { $edit['cid'] = db_next_id('{comments}_cid'); $edit['timestamp'] = time(); - if ($edit['uid'] = $user->uid) { + if ($edit['uid'] == $user->uid) { $edit['name'] = $user->name; } -- cgit v1.2.3