diff options
author | Dries Buytaert <dries@buytaert.net> | 2006-02-22 19:02:58 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2006-02-22 19:02:58 +0000 |
commit | c94a2dabb012b7ec0f9705f405e9f5f4ee3c75bd (patch) | |
tree | 051c23223a943c723d5fb52c539658817b17d9a3 | |
parent | c48278229b7e2ee31575b7d9f3fd30598346c941 (diff) | |
download | brdo-c94a2dabb012b7ec0f9705f405e9f5f4ee3c75bd.tar.gz brdo-c94a2dabb012b7ec0f9705f405e9f5f4ee3c75bd.tar.bz2 |
- Patch #50755 by markus: = -> ==.
-rw-r--r-- | modules/comment.module | 2 | ||||
-rw-r--r-- | modules/comment/comment.module | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/comment.module b/modules/comment.module index 855ed2e81..2fa9bdfb1 100644 --- a/modules/comment.module +++ b/modules/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; } 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; } |