The variable $i seems to be never defined.
This commit is contained in:
parent
a3fa6eb473
commit
ab1b5cfab5
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user