Fix $i not initialized

This commit is contained in:
Laurent Destailleur
2016-08-01 19:48:39 +02:00
parent a35dd9f2d1
commit dfc38351ef
5 changed files with 8 additions and 1 deletions

View File

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