Description
If in api parameters leave space in last when create ticket then here showing an error
How to reproduce
Create a ticket using api side and added a api parameters with leave space in last in the below parameters, then after send request shows an error in all parameters like this: "Warning: Undefined array key "actAsType""
Name
From
Email
actAsType
Subject
Message
Attachments[0]
Note: Only on actAsEmail parameter if leave space in last then working.
Also, if we leave space in starting then all works fine.
Possible Solution
If we have leave space in the last then should not be shown an error like this.
Description
If in api parameters leave space in last when create ticket then here showing an error
How to reproduce
Create a ticket using api side and added a api parameters with leave space in last in the below parameters, then after send request shows an error in all parameters like this: "Warning: Undefined array key "actAsType""
Note: Only on actAsEmail parameter if leave space in last then working. Also, if we leave space in starting then all works fine.
Possible Solution
If we have leave space in the last then should not be shown an error like this.