Issue #2526084 by andypost, yarik.lutsiuk: Fix comment in Comment entity

8.0.x
xjm 2015-07-05 10:31:55 +01:00
parent 6f97344598
commit 52b3deb617
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ class Comment extends ContentEntityBase implements CommentInterface {
}
if ($this->isNew()) {
// Add the comment to database. This next section builds the thread field.
// Also see the documentation for comment_view().
// @see \Drupal\comment\CommentViewBuilder::buildComponents()
$thread = $this->getThread();
if (empty($thread)) {
if ($this->threadLock) {