Merge pull request #12400 from snipe/jerm/fix-import-backup-checkbox

Fixed "Backup before importing?" checkbox on import page
This commit is contained in:
snipe 2023-01-23 15:35:18 -08:00 committed by GitHub
commit 35dfaddd79
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -127,7 +127,7 @@ class ImportController extends Controller
$this->authorize('import');
// Run a backup immediately before processing
if ($request->has('run-backup')) {
if ($request->get('run-backup')) {
\Log::debug('Backup manually requested via importer');
Artisan::call('backup:run');
} else {