Merge remote-tracking branch 'origin/develop'

This commit is contained in:
snipe 2023-01-23 15:36:05 -08:00
commit 4c7b731acc
2 changed files with 2 additions and 2 deletions

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 {

View file

@ -13,7 +13,7 @@
</div>
</div>
@if ($this->add_default_values ) {{-- 'if the checkbox is enabled *AND* there are more than 0 fields in the fieldsset' --}}
<div>
<div style="padding-left: 10px; padding-bottom: 0px; margin-bottom: -15px;">
<div class="form-group">
@if ($fields)
@foreach ($fields as $field)