Sounds like maybe your re-declaring (over writing) the variable $subject before mail gets sent. With out knowing what mod(s) you have applied I wouldn't know where to begin to troubleshoot something like this. Maybe /include/staff/newticket.inc.php? Or perhaps /include/class.email.php?
Hi notzier, been banging my head against a wall for a while with this, (i took a couple of weeks off and then came back to it)
in the include/staff/newticket.inc.php and editticket.inc.php everything looks right - nothing overwrites the subject in either of these.
In class.mail.php all the declaration and pulls look right.
is there anywhere a process tree/flow chart explaining the flow of data through osticket? it would help me to debug the process?