Skip to content

Commit e87d074

Browse files
authored
Merge pull request #1 from andrejskuba/patch-1
Check if index 1 exists
2 parents 4ba9e2a + a5d17d9 commit e87d074

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Command.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public function rebindValues()
6666
{
6767
foreach ($this->_prevPendingParams as $name => $data) {
6868
$value = $data[0];
69-
$dataType = $data[1];
69+
$dataType = !empty($data[1]) ? $data[1] : null;
7070
parent::bindValue($name, $value, $dataType);
7171
}
7272
return $this;

0 commit comments

Comments
 (0)