Merge pull request #12720 from frederic34/patch-8

The variable $i seems to be never defined.
This commit is contained in:
Laurent Destailleur 2019-12-17 03:01:50 +01:00 committed by GitHub
commit 2ab8292fbb
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);