Skip to content

Commit 586e12a

Browse files
committed
Signed-off-by: Joey Smith <jsmith@webinertia.net>
1 parent e379678 commit 586e12a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Platform/Mysql.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ protected function quoteViaDriver(string $value): ?string
9999
$resource = $this->driver;
100100
}
101101

102+
// todo: Refactor using match
102103
if ($resource instanceof mysqli) {
103104
return '\'' . $resource->real_escape_string($value) . '\'';
104105
}

0 commit comments

Comments
 (0)