Commit c94a2dab authored by Dries's avatar Dries

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

parent c4827822
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment