5.1github最新版错误

浏览:315 发布日期:2018/11/01
5.0.0 - 致命 - 已处理
framework/library/think/db/Builder.php

$bind未定义哦

/**
* 范围查询
* @access protected
* @param Query $query 查询对象
* @param string $key
* @param string $exp
* @param mixed $value
* @param string $field
* @param integer $bindType
* @return string
*/
protected function parseBetween(Query $query, $key, $exp, $value, $field, $bindType)
{
// BETWEEN 查询
$data = is_array($value) ? $value : explode(',', $value);
$min = $query->bind($data[0], $bindType);
$max = $query->bind($data[1], $bindType);
$query->bind($bind);
return $key . ' ' . $exp . ' :' . $min . ' AND :' . $max . ' ';
}
评论(
后面还有条评论,点击查看>>