fixed message detail saving issue
Merge branch 'master' of https://github.com/pmis/sms