We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bc0d54 commit f4f2435Copy full SHA for f4f2435
app/Exports/Controllers/ImportController.php
@@ -89,7 +89,7 @@ public function run(int $id, Request $request)
89
try {
90
$entity = $this->imports->runImport($import, $parent);
91
} catch (ZipImportException $exception) {
92
- session()->flush();
+ session()->forget(['success', 'warning']);
93
$this->showErrorNotification(trans('errors.import_zip_failed_notification'));
94
return redirect($import->getUrl())->with('import_errors', $exception->errors);
95
}
0 commit comments