1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-09 16:26:59 +02:00
This commit is contained in:
Ryan Cramer
2017-06-30 10:49:31 -04:00
parent bcd40cdf03
commit 5ec3e48de6

View File

@@ -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);