Skip to content

Commit

Permalink
refs #1753 : bugfix - field value set was not converted correctly.
Browse files Browse the repository at this point in the history
  • Loading branch information
inureyes committed Jun 19, 2015
1 parent 3d36c05 commit 8138f38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/model/blog/comment.php
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,7 @@ function updateComment($blogid, $comment, $password) {
}
}

$replier = is_null($comment['replier']) ? 'NULL' : "'{$comment['replier']}'";
$replier = is_null($comment['replier']) ? NULL : $comment['replier'];

$pool->setAttribute('name', $name, true);
$pool->setAttribute('homepage', $homepage, true);
Expand Down

0 comments on commit 8138f38

Please # to comment.