diff --git a/library/think/db/Builder.php b/library/think/db/Builder.php index d5c7e9ab..e80a2fb7 100644 --- a/library/think/db/Builder.php +++ b/library/think/db/Builder.php @@ -118,8 +118,8 @@ abstract class Builder $result[$item] = $val; } else { $key = str_replace('.', '_', $key); - $this->query->bind('__data__' . $key, $val, isset($bind[$key]) ? $bind[$key] : PDO::PARAM_STR); - $result[$item] = ':__data__' . $key; + $this->query->bind('data__' . $key, $val, isset($bind[$key]) ? $bind[$key] : PDO::PARAM_STR); + $result[$item] = ':data__' . $key; } } }