diff --git a/library/think/model.php b/library/think/model.php index cb84a0da..a03c568e 100644 --- a/library/think/model.php +++ b/library/think/model.php @@ -562,8 +562,6 @@ class Model if (is_scalar($val) && empty($options['bind'][':' . $key])) { $this->_parseType($options['where'], $key); } - } elseif ('_' != substr($key, 0, 1) && false === strpos($key, '.') && false === strpos($key, '(') && false === strpos($key, '|') && false === strpos($key, '&')) { - unset($options['where'][$key]); } } }