summaryrefslogtreecommitdiff
path: root/modules/comment/comment.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-02-22 19:02:58 +0000
committerDries Buytaert <dries@buytaert.net>2006-02-22 19:02:58 +0000
commitc94a2dabb012b7ec0f9705f405e9f5f4ee3c75bd (patch)
tree051c23223a943c723d5fb52c539658817b17d9a3 /modules/comment/comment.module
parentc48278229b7e2ee31575b7d9f3fd30598346c941 (diff)
downloadbrdo-c94a2dabb012b7ec0f9705f405e9f5f4ee3c75bd.tar.gz
brdo-c94a2dabb012b7ec0f9705f405e9f5f4ee3c75bd.tar.bz2
- Patch #50755 by markus: = -> ==.
Diffstat (limited to 'modules/comment/comment.module')
-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 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;
}