Skip to content

Commit 9339fe2

Browse files
authored
Merge pull request #182 from g4m-rickwalker/master
G4M: PHP 8 compat
2 parents 10894b4 + 994399d commit 9339fe2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GDS/Store.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ public function fetchPage($int_page_size, $mix_offset = null)
278278
$str_offset = 'OFFSET @startCursor';
279279
$arr_params['startCursor'] = $mix_offset;
280280
}
281-
} else if (strlen($this->str_last_cursor) > 1) {
281+
} else if (!is_null($this->str_last_cursor) && strlen($this->str_last_cursor) > 1) {
282282
$str_offset = 'OFFSET @startCursor';
283283
$arr_params['startCursor'] = $this->str_last_cursor;
284284
}

0 commit comments

Comments
 (0)