Skip to content

Commit 3b7a7dc

Browse files
fix buildString for bindParam (values start with ':'), strpos($value, ':') === 0
1 parent d12462c commit 3b7a7dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Build/ValueBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ public function convertBinaryToHex($binaryValue): string
280280

281281
public function buildString($value)
282282
{
283-
if (strpos($value, ':')) {
283+
if (strpos($value, ':') === 0) {
284284
return $value;
285285
}
286286
if ($value === '?') {

0 commit comments

Comments
 (0)