Skip to content
Snippets Groups Projects
Commit 79489b3d authored by JediKev's avatar JediKev
Browse files

issue: Help Topic SLA

This addresses issue 3979 where the system uses the default SLA plan if
you don’t choose one in the creation process, even though the selected
Help Topic has one explicitly set. This is due to the method that checks
for an SLA plan selection upon ticket creation. The method uses `isset()`
to determine whether or not the agent selected a help topic. If you don’t
select an SLA plan the `slaId` will return `0` which, even though equals
nothing, is still set. If the `slaId` is set then it will use that SLA
plan or the default one. Since `0` is not an SLA plan, it will use the
default SLA. So this adds a check beforehand to see if `slaId` is `0`. If
so it will unset `slaId` and use either the Help Topic SLA or the default
SLA.
parent acac3707
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment