minor bug in ticket controller
Merge pull request #239 from shinesoftware/sandbox

minor bug in ticket controller