Merge pull request #10785 from frederic34/patch-3

Update api_boms.class.php
This commit is contained in:
Laurent Destailleur 2019-03-11 16:48:34 +01:00 committed by GitHub
commit 776159b486
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -162,6 +162,7 @@ class BOMs extends DolibarrApi
if ($result) if ($result)
{ {
$num = $db->num_rows($result); $num = $db->num_rows($result);
$i = 0;
while ($i < $num) while ($i < $num)
{ {
$obj = $db->fetch_object($result); $obj = $db->fetch_object($result);