Skip to content

Commit

Permalink
Release version 1.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
FaaPz committed Mar 6, 2019
1 parent 0383448 commit a84ac97
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
### Changelog

##### v1.11.0
+ Rename package namespace in favor of Slim Framework (#20)
+ Updated `StatementContainer` class with:
- Fixed `getPlaceholders()` method (#92)

##### v1.10.1
+ Updated `Database` class with:
- Allow user provided PDO options to overwrite default values
Expand Down
2 changes: 1 addition & 1 deletion src/Statement/StatementContainer.php
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ protected function getPlaceholders()
protected function setPlaceholders(array $values)
{
foreach ($values as $value) {
$this->placeholders[] = $this->setPlaceholder('?', is_null($value) ? 1 : sizeof($value));
$this->placeholders[] = $this->setPlaceholder('?', is_null($value) ? 1 : (is_array($value) ? sizeof($value) : 1));
}
}

Expand Down

0 comments on commit a84ac97

Please sign in to comment.