Fix missing column

This commit is contained in:
Laurent Destailleur 2022-01-21 15:40:37 +01:00
parent accc413596
commit 482efec536
2 changed files with 2 additions and 1 deletions

View File

@ -823,7 +823,7 @@ function projectLinesa(&$inc, $parent, &$lines, &$level, $var, $showproject, &$t
}
}
if (count($arrayfields) > 0 && !empty($arrayfields['c.budget_amount']['checked'])) {
if (count($arrayfields) > 0 && !empty($arrayfields['t.budget_amount']['checked'])) {
print '<td class="center">';
print price($lines[$i]->budget_amount, 0, $langs, 1, 0, 0, $conf->currency);
$total_budget_amount += $lines[$i]->budget_amount;

View File

@ -505,6 +505,7 @@ if (empty($reshook)) {
setEventMessages($langs->trans("ErrorLoginAlreadyExists", $object->login), null, 'errors');
} else {
setEventMessages($object->error, $object->errors, 'errors');
$action = 'edit';
}
}
}