Fix comment depth chain check
This commit is contained in:
@@ -74,7 +74,7 @@ class Comment extends Component
|
|||||||
|
|
||||||
public function postReply()
|
public function postReply()
|
||||||
{
|
{
|
||||||
if (! $this->comment->depth() < 2) {
|
if (!($this->comment->depth() < 2)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user