Fix compilation error
Merge pull request #929 from heidiso/getVersionOfAttachmentURL_develop

Fix compilation error