We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 913479b commit 72ca57fCopy full SHA for 72ca57f
src/LoggedStatement.php
@@ -45,7 +45,7 @@ public function bindValue(
45
/** @var int|string $parameter */
46
$result = parent::bindValue($parameter, $value, $dataType);
47
48
- if ($result && $this->logEntry !== null) {
+ if ($result && !empty($this->logEntry)) {
49
$this->logEntry['values'][$parameter] = $value;
50
}
51
0 commit comments