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)) {