- Patch #50755 by markus: = -> ==.
parent
c48278229b
commit
c94a2dabb0
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue