Skip to content

Commit 5037ac8

Browse files
author
dedermus
committed
fix
src/Form.php public function update($id, $data = null) //$updates = $this->prepareUpdate($this->updates); $updates = $this->removeIgnoredFields($this->prepareUpdate($this->updates));
1 parent d375e76 commit 5037ac8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Form.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,8 @@ public function update($id, $data = null)
574574
}
575575

576576
DB::transaction(function () {
577-
$updates = $this->prepareUpdate($this->updates);
577+
//$updates = $this->prepareUpdate($this->updates);
578+
$updates = $this->removeIgnoredFields($this->prepareUpdate($this->updates));
578579

579580
foreach ($updates as $column => $value) {
580581
/* @var Model $this ->model */

0 commit comments

Comments
 (0)