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:
@@ -91,7 +91,7 @@ class CommentArray extends PaginatedArray implements WirePaginatable {
|
|||||||
'useVotes' => ($this->field ? $this->field->get('useVotes') : 0),
|
'useVotes' => ($this->field ? $this->field->get('useVotes') : 0),
|
||||||
'useStars' => ($this->field ? $this->field->get('useStars') : 0),
|
'useStars' => ($this->field ? $this->field->get('useStars') : 0),
|
||||||
'depth' => ($this->field ? (int) $this->field->get('depth') : 0),
|
'depth' => ($this->field ? (int) $this->field->get('depth') : 0),
|
||||||
'dateFormat' => 'relative',
|
'dateFormat' => ($this->field ? $this->field->get('dateFormat') : 'relative'),
|
||||||
);
|
);
|
||||||
$options = array_merge($defaultOptions, $options);
|
$options = array_merge($defaultOptions, $options);
|
||||||
$commentList = $this->getCommentList($options);
|
$commentList = $this->getCommentList($options);
|
||||||
|
Reference in New Issue
Block a user