Skip to content

Commit

Permalink
Fix undefined variable for saving
Browse files Browse the repository at this point in the history
  • Loading branch information
nox7 committed Apr 19, 2022
1 parent 8e29c8a commit d4b7305
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ORM/Abyss.php
Original file line number Diff line number Diff line change
Expand Up @@ -469,6 +469,7 @@ classInstance: $classInstance,
usePreparedStatement:true,
);

$model = $classInstance::getModel();
$statement = $this->getConnectionToDatabase($model->getDatabaseName())->prepare($builtQuery['query']);
$statement->bind_param(
$builtQuery['preparedStatementFlags'],
Expand Down

0 comments on commit d4b7305

Please sign in to comment.