From 7e28db4523223751e923b407654d3072835eb8c9 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 21 Mar 2023 23:17:19 -0400 Subject: [PATCH] spelling: count Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- src/Content/BoundariesPager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Content/BoundariesPager.php b/src/Content/BoundariesPager.php index ddd0716285..6ab64fdef8 100644 --- a/src/Content/BoundariesPager.php +++ b/src/Content/BoundariesPager.php @@ -94,7 +94,7 @@ class BoundariesPager extends Pager * $params = ['order' => ['sort_field' => true], 'limit' => $itemsPerPage]; * $items = DBA::toArray(DBA::select($table, $fields, $condition, $params)); * - * $pager = new BoundariesPager($a->query_string, $items[0]['sort_field'], $items[coutn($items) - 1]['sort_field'], $itemsPerPage); + * $pager = new BoundariesPager($a->query_string, $items[0]['sort_field'], $items[count($items) - 1]['sort_field'], $itemsPerPage); * * $html = $pager->renderMinimal(count($items)); *