Skip to content

Commit

Permalink
Merge branch 'develop' of github.com:michalsn/UuidModel into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
michalsn committed Apr 2, 2021
2 parents c23d62c + 9d31a12 commit 568aba8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/UuidModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ public function insert($data = null, bool $returnID = true)
->insert();

// If insertion succeeded then save the insert ID
if ($result->resultID)
if ($result)
{
if (! $this->useAutoIncrement)
{
Expand Down

0 comments on commit 568aba8

Please sign in to comment.