修正db类setField方法

This commit is contained in:
thinkphp
2016-04-11 15:16:15 +08:00
parent 7ee775095d
commit ec03eda952

View File

@@ -1136,7 +1136,7 @@ abstract class Driver
} else { } else {
$data[$field] = $value; $data[$field] = $value;
} }
return $this->save($data); return $this->update($data);
} }
/** /**