修正insertall

This commit is contained in:
thinkphp
2016-08-07 12:46:11 +08:00
parent 6698dd41b3
commit 5fb2c67f60

View File

@@ -606,7 +606,7 @@ abstract class Builder
{
// 获取合法的字段
if ('*' == $options['field']) {
$fields = $this->query->getFieldsType($options);
$fields = array_keys($this->query->getFieldsType($options));
} else {
$fields = $options['field'];
}