Fix: bad increment
This commit is contained in:
parent
1ed47522e9
commit
f63d43d044
@ -1546,6 +1546,7 @@ if ($id > 0 || ! empty($ref))
|
|||||||
* Linked object block
|
* Linked object block
|
||||||
*/
|
*/
|
||||||
$object->load_object_linked($object->id,$object->element);
|
$object->load_object_linked($object->id,$object->element);
|
||||||
|
//var_dump($object->linked_object);
|
||||||
|
|
||||||
foreach($object->linked_object as $linked_object => $linked_objectid)
|
foreach($object->linked_object as $linked_object => $linked_objectid)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -49,7 +49,6 @@ for ($i = 0 ; $i < $num ; $i++)
|
|||||||
</tr>
|
</tr>
|
||||||
<?php
|
<?php
|
||||||
$total = $total + $linkedObjectBlock->total_ht;
|
$total = $total + $linkedObjectBlock->total_ht;
|
||||||
$i++;
|
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<tr class="liste_total">
|
<tr class="liste_total">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user