3.1.2 - 普通 - 未处理
最近为网站升级了新的3.1.2版本,发现一个问题。代码如下:
$data["username"] = $this->_post("login_name");
$data["password"] = $this->_post("login_password");
$res = M("employee")->where($data)->select(false);
echo $res;
最后输出的语句完全没有where的影子,但是两个字段是有值的,是否是升级过程中摒弃了这种方法?