mirror of
https://github.com/processwire/processwire.git
synced 2025-08-09 16:26:59 +02:00
Fix issue processwire/processwire-issues#299
This commit is contained in:
@@ -90,8 +90,8 @@ class CommentArray extends PaginatedArray implements WirePaginatable {
|
||||
'useGravatar' => ($this->field ? $this->field->get('useGravatar') : ''),
|
||||
'useVotes' => ($this->field ? $this->field->get('useVotes') : 0),
|
||||
'useStars' => ($this->field ? $this->field->get('useStars') : 0),
|
||||
'depth' => ($this->field ? (int) $this->field->get('depth') : 0),
|
||||
'dateFormat' => 'relative',
|
||||
'depth' => ($this->field ? (int) $this->field->get('depth') : 0),
|
||||
'dateFormat' => ($this->field ? $this->field->get('dateFormat') : 'relative'),
|
||||
);
|
||||
$options = array_merge($defaultOptions, $options);
|
||||
$commentList = $this->getCommentList($options);
|
||||
|
Reference in New Issue
Block a user