We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 010211f commit bdf9e6bCopy full SHA for bdf9e6b
lib/internal/Magento/Framework/DB/Adapter/Pdo/Mysql.php
@@ -665,11 +665,9 @@ protected function _prepareQuery(&$sql, &$bind = [])
665
}
666
667
// Mixed bind is not supported - so remember whether it is named bind, to normalize later if required
668
- $isNamedBind = false;
669
if ($bind) {
670
foreach ($bind as $k => $v) {
671
if (!is_int($k)) {
672
- $isNamedBind = true;
673
if ($k[0] != ':') {
674
$bind[":{$k}"] = $v;
675
unset($bind[$k]);
0 commit comments