fix: controlli su aggiornamenti
This commit is contained in:
parent
6a9b384a0e
commit
8a42b2d3a2
|
@ -195,7 +195,10 @@ if (!empty($results) || !empty($results_added) || !empty($results_settings) || !
|
|||
} else {
|
||||
$null = 'NULL';
|
||||
}
|
||||
$query .= str_replace('DEFAULT_GENERATED', ' ', $data[$table][$name]['extra']).' '.$null.' DEFAULT '.$data[$table][$name]['default'].';';
|
||||
$query .= str_replace('DEFAULT_GENERATED', ' ', $data[$table][$name]['extra']).' '.$null;
|
||||
if ($data[$table][$name]['default']) {
|
||||
$query .= ' DEFAULT '.$data[$table][$name]['default'];
|
||||
}
|
||||
}
|
||||
|
||||
echo '
|
||||
|
@ -204,7 +207,7 @@ if (!empty($results) || !empty($results_added) || !empty($results_settings) || !
|
|||
'.$name.'
|
||||
</td>
|
||||
<td>
|
||||
'.$query.'
|
||||
'.$query.';
|
||||
</td>
|
||||
</tr>';
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ $directory = Plugins\ImportFE\FatturaElettronica::getImportDirectory();
|
|||
|
||||
if (!empty($list)) {
|
||||
echo '
|
||||
<table class="table table-striped table-hover table-sm table-bordered datatables">
|
||||
<table class="table table-striped table-hover table-sm table-bordered">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>'.tr('Descrizione').'</th>
|
||||
|
|
Loading…
Reference in New Issue