修正一处未定义变量错误

This commit is contained in:
thinkphp
2018-04-17 19:29:53 +08:00
parent 513701788e
commit e3a4faedbf

View File

@@ -266,7 +266,7 @@ abstract class Builder
$str = [];
foreach ($val as $field => $value) {
if ($value instanceof Expression) {
$str[] = ' ' . $logic . ' ( ' . $value->getValue() . ' )';
$str[] = ' ' . $key . ' ( ' . $value->getValue() . ' )';
continue;
}
if ($value instanceof \Closure) {