Skip to content

Commit 4095c08

Browse files
committed
BUGFIX: Fix PaginationArrayImplementation
Use `fusionValue()` insteadof `tsValue()`.
1 parent b8f1037 commit 4095c08

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Classes/Fusion/PaginationArrayImplementation.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ class PaginationArrayImplementation extends AbstractFusionObject
1111
*/
1212
public function evaluate()
1313
{
14-
$maximumNumberOfLinks = $this->tsValue('maximumNumberOfLinks') - 2;
15-
$itemsPerPage = $this->tsValue('itemsPerPage');
16-
$totalCount = $this->tsValue('totalCount');
17-
$currentPage = $this->tsValue('currentPage');
14+
$maximumNumberOfLinks = $this->fusionValue('maximumNumberOfLinks') - 2;
15+
$itemsPerPage = $this->fusionValue('itemsPerPage');
16+
$totalCount = $this->fusionValue('totalCount');
17+
$currentPage = $this->fusionValue('currentPage');
1818
if ($totalCount > 0 !== true) {
1919
return [];
2020
}

0 commit comments

Comments
 (0)