The variable $i seems to be never defined.

This commit is contained in:
Frédéric FRANCE 2019-12-16 20:30:24 +01:00 committed by GitHub
parent a3fa6eb473
commit ab1b5cfab5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -291,6 +291,7 @@ class Tickets extends DolibarrApi
$result = $db->query($sql);
if ($result) {
$num = $db->num_rows($result);
$i = 0;
while ($i < $num) {
$obj = $db->fetch_object($result);
$ticket_static = new Ticket($db);