From d5b95f24fc234e3161df09e87e3de538dad22078 Mon Sep 17 00:00:00 2001 From: Matthew Byrne Date: Thu, 4 Mar 2021 17:11:43 +0000 Subject: [PATCH] fix --- src/PrintNode/Client.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PrintNode/Client.php b/src/PrintNode/Client.php index 8d50396..a11de21 100755 --- a/src/PrintNode/Client.php +++ b/src/PrintNode/Client.php @@ -342,7 +342,7 @@ public function applyPaginationToUrl($url, $limit, $after, $dir) if (!\is_numeric($after)) { throw new \PrintNode\Exception\InvalidArgumentException('After must be a number'); } - $vars[] = sprintf("after=%d", $limit); + $vars[] = sprintf("after=%d", $after); } if (!is_null($dir)) {