Skip to content

Commit e08166a

Browse files
author
Igor Chepurnoy
committed
Update EditableAction.php
1 parent 6d7a968 commit e08166a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

EditableAction.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public function run()
8787
$model->$attribute = $value;
8888

8989
if ($model->validate([$attribute])) {
90-
return $model->save(false);
90+
return $model->save(true, [$attribute]);
9191
} else {
9292
throw new BadRequestHttpException($model->getFirstError($attribute));
9393
}

0 commit comments

Comments
 (0)