]> git.mxchange.org Git - friendica.git/commitdiff
Reverted accidentally reversed parameter order
authorMichael <heluecht@pirati.ca>
Wed, 17 May 2023 02:38:47 +0000 (02:38 +0000)
committerMichael <heluecht@pirati.ca>
Wed, 17 May 2023 02:38:47 +0000 (02:38 +0000)
src/Core/Search.php

index a226784e2c26a1e3de80ef2901349cc1c7170d79..8b114a468c93fcb75f658e49086b4f930d094737 100644 (file)
@@ -131,8 +131,8 @@ class Search
 
                $resultList = new ResultList(
                        ($results['page']         ?? 0) ?: 1,
-                       ($results['itemsperpage'] ?? 0) ?: 30,
-                       $results['count']        ?? 0
+                       $results['count']        ?? 0,
+                       ($results['itemsperpage'] ?? 0) ?: 30
                );
 
                $profiles = $results['profiles'] ?? [];