CMD_API_TICKETS were not returning leading 0s

Version 1.315


In the full list of tickets in the CMD_API_TICKETS output, the leading zeros were removed. When the number without zeros is used to get a ticket, DA said it was invalid since the 0's were missing. This fix returns the ticket numbers with leading zeros so that ticket requests work.

Interested to try DirectAdmin? Get a 30-day Free Trial!