Micke1101 / OSTicket-plugin-Merging

12 stars 5 forks source link

Class TicketModel not found - osTicket v1.11.x RC1 #7

Open learn-by-flying opened 6 years ago

learn-by-flying commented 6 years ago

Fatal error: Class 'TicketModel' not found in C:\workspace\www\esd\esd\include\plugins\OSTicket-plugin-Merging-master\class.MergingPlugin.php on line 115

learn-by-flying commented 6 years ago

By changing line 115 from: $tickets = TicketModel::objects();

to: $tickets = Ticket::objects();

This corrects the error.