]> git.mxchange.org Git - friendica.git/commitdiff
spelling: count
authorJosh Soref <2119212+jsoref@users.noreply.github.com>
Wed, 22 Mar 2023 03:17:19 +0000 (23:17 -0400)
committerJosh Soref <2119212+jsoref@users.noreply.github.com>
Sun, 26 Mar 2023 20:03:22 +0000 (16:03 -0400)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
src/Content/BoundariesPager.php

index ddd07162858d840ac0d75a87c56a0590f112a439..6ab64fdef8997c89ce255de258a100565c57e65c 100644 (file)
@@ -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));
         *