diff --git a/app/Imports/Sheets/ConfigSheet.php b/app/Imports/Sheets/ConfigSheet.php index bbf1137..4c07b38 100644 --- a/app/Imports/Sheets/ConfigSheet.php +++ b/app/Imports/Sheets/ConfigSheet.php @@ -40,7 +40,7 @@ class ConfigSheet implements SkipsEmptyRows, ToCollection, WithEvents, WithHeadi switch ($config['key']) { case 'name': - $this->backupImport->user->name = $config['value']; + $this->backupImport->user->setAttribute('name', $config['value']); $this->backupImport->user->save(); break;