Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lodev09 committed Jul 8, 2019
1 parent d8bf5c5 commit 0d4f789
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Batch.php
Expand Up @@ -32,8 +32,8 @@ public function getItems($params = [], $page = 1, &$next_page = null) {
}

// process pagination
if (!empty(self::$curl->responseHeaders['link'])) {
$pagination = new Pagination(self::$curl->responseHeaders['link']);
if (!empty(EZVenue::$curl->responseHeaders['link'])) {
$pagination = new Pagination(EZVenue::$curl->responseHeaders['link']);
$next_page = $pagination->nextPage();
}

Expand Down
2 changes: 1 addition & 1 deletion src/EZVenue.php
Expand Up @@ -6,7 +6,7 @@
use \Common\Util;

class EZVenue {
const VERSION = '0.3.3';
const VERSION = '0.3.4';
public static $curl;
public static $api_url;

Expand Down

0 comments on commit 0d4f789

Please sign in to comment.