osTicket v1.10 (stable) and Maintenance Release v1.9.15 are now available! Go get it now
Fatal error with class ticket
I try to create a ticket using osticket API, it works using basic information, so I've tried with an osticket more developped it generates a Fatal error: Call to a member function getHastable() on a non-object in D:\wamp\www\osticket\include\class.ticket.php on line 3125
The line 3125 is as follow:
$staff = $thisstaff->getHastable();
// So we save his ID
$comID = $staff['staff_id'];
The array I send using API contains only defined values (I use the id of each attribute to create the ticket directly).
Thanks in advance.