- Patch #50755 by markus: = -> ==.

4.7.x
Dries Buytaert 2006-02-22 19:02:58 +00:00
parent c48278229b
commit c94a2dabb0
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}

View File

@ -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;
}