Skip to content

Commit d0f30cc

Browse files
committed
[ENHANCEMENT][VGCAPP-2617] Support for additional characters (unicode extended)
1 parent f8a534f commit d0f30cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/vendor/creole/common/PreparedStatementCommon.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,7 @@ function setString($paramIndex, $value)
595595
if ( is_object ( $value ) ) {
596596
$this->boundInVars[$paramIndex] = "'" . $this->escape($value->__toString()) . "'";
597597
} else {
598-
$this->boundInVars[$paramIndex] = "'" . $this->escape((string)$value) . "'";
598+
$this->boundInVars[$paramIndex] = "N'" . $this->escape((string)$value) . "'";
599599
}
600600
}
601601
}

0 commit comments

Comments
 (0)