BUG 10620 setCaseTrackerCode function does not work SOLVED

- Incorrect condition in update logic
- Fix incorrect condition
Merge pull request #1271 from julceslauhub/master

BUG 10620 setCaseTrackerCode function does not work SOLVED