diff --git a/XeroOauth2.php b/XeroOauth2.php index 15e2b66..163ca8d 100644 --- a/XeroOauth2.php +++ b/XeroOauth2.php @@ -576,7 +576,7 @@ class XeroOAuth2 $xeroTenantId = $this->xeroTenantId; $page = 1; try { - $result = $api->getPayItems($xeroTenantId, $ifModifiedSince, $where, $order, $page); + $result = $api->getPayItems($xeroTenantId, null, null, null, $page);