Commit d573c28a authored by Ludovic Dubost's avatar Ludovic Dubost
Browse files

Normalize attachment version to 1.1

parent 735cb183
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -305,9 +305,9 @@ public class GitLabGroovy {

        // Update attachment dates
        for (xa in clonedDoc.getAttachmentList()) {
            debug("Checking attachment " + xa.getFilename())
            xa.setVersion("1.1");
            if (defaultDate && defaultDate!="") {
               xa.setDate(defaultDate)
               xa.setDate(defaultDate);
            }
            if (withFormat) {
               xa.setAuthor(DEFAULTAUTHOR);