Correct parameters to addUserHistory()
Merge pull request #29 from bramley/Mantis_17228

Mantis 17228 - Incorrect parameters to addUserHistory()