Skip to content
This repository has been archived by the owner on Sep 9, 2022. It is now read-only.

Commit

Permalink
Fix with alias
Browse files Browse the repository at this point in the history
  • Loading branch information
juampi92 committed Dec 2, 2018
1 parent 5c565f6 commit aaee781
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CursorPaginator.php
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ protected function getIdentifier($model)
return;
}

$id = $model->{$this->identifier};
$id = $model->{$this->identifier_alias};

if (!$this->isDateIdentifier($id)) {
return $id;
Expand Down

0 comments on commit aaee781

Please sign in to comment.