diff --git a/src/XeroPHP/Remote/Response.php b/src/XeroPHP/Remote/Response.php index b5570187..db818ec8 100644 --- a/src/XeroPHP/Remote/Response.php +++ b/src/XeroPHP/Remote/Response.php @@ -318,6 +318,7 @@ public function parseXML() foreach ($sxml as $child_index => $root_child) { switch ($child_index) { case 'PageInfo': + case 'pagination': // TODO: We can potentially handle the page info and make it a value on the response object break; case 'ErrorNumber': @@ -365,6 +366,7 @@ public function parseJSON() foreach ($json as $child_index => $root_child) { switch ($child_index) { case 'PageInfo': + case 'pagination': // TODO: We can potentially handle the page info and make it a value on the response object break; case 'ErrorNumber':