current 报错的问题,是否是bug
$where1 = "state=0 and (e!='未开票' or f='' or ah!='' or ak='')";public function updateRow($table,$where,$data){
$this->db->where($where);
$this->db->update($table,$data);
// return current($where);
}
在CI 3.0.3的版本中,where条件如上,如果加上return current($where);就会报错。经目前项目测试更新会报错,所有查询,因为没有用到current,没有报错。
页:
[1]