# WARNING: head commit changed in the meantime

Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 15.0
This commit is contained in:
Laurent Destailleur 2022-06-09 03:09:37 +02:00
commit 8280447f3e

View File

@ -647,11 +647,9 @@ if ($action == 'create') {
print "</tr>\n";
// Empty line is the first line of $object->linesmvt
// So we must get the first line (the empty one) and put it at the end of the array
// in order to display it correctly to the user
$empty_line = array_shift($object->linesmvt);
$object->linesmvt[]= $empty_line;
// Add an empty line
$line = new BookKeepingLine();
$object->linesmvt[] = $line;
foreach ($object->linesmvt as $line) {
print '<tr class="oddeven">';