Details
Description
When viewing a ticket in the admin UI, checking the box for notes, and performing the Split action will cause a new ticket to be created with the notes attached to it. However, tickets are not viewable in the interface unless they have a reply. Therefore, the new ticket cannot be fetched, is not viewable through the interface, and actually causes a php error.
Because tickets cannot be fetched if they only contain reply notes, the fix must disallow the ability for only ticket notes to be split. A new error message should be shown if an admin attempts to split only notes out of a ticket, or if only ticket notes would remain in a ticket.