|
@@ -3734,6 +3734,9 @@ class Database
|
|
|
$table_body = '<tbody>';
|
|
|
$table_body .= '<tr class="table_copy" style="display:none;">';
|
|
|
foreach ($param['update'] as $hk => $hv) {
|
|
|
+ if (isset($hv['col'])) {
|
|
|
+ $hk = $hv['col'];
|
|
|
+ }
|
|
|
if ($this->id && $hk === 'id') {
|
|
|
$hv['update'] = 'hidden';
|
|
|
}
|
|
@@ -3763,6 +3766,9 @@ class Database
|
|
|
foreach ($param['value'] as $bk => $bv) {
|
|
|
$table_body .= '<tr>';
|
|
|
foreach ($param['update'] as $hk => $hv) {
|
|
|
+ if (isset($hv['col'])) {
|
|
|
+ $hk = $hv['col'];
|
|
|
+ }
|
|
|
if ($this->id && $hk === 'id') {
|
|
|
$hv['update'] = 'hidden';
|
|
|
}
|