diff --git a/lib/redmine_dmsf/webdav/dmsf_resource.rb b/lib/redmine_dmsf/webdav/dmsf_resource.rb index f9586117..39f78c2d 100644 --- a/lib/redmine_dmsf/webdav/dmsf_resource.rb +++ b/lib/redmine_dmsf/webdav/dmsf_resource.rb @@ -270,7 +270,7 @@ module RedmineDmsf # Last revision in the destination has zero size so reuse that revision new_revision = dest.resource.file.last_revision else - # Create a new revison by cloning the last revision in the destination + # Create a new revision by cloning the last revision in the destination new_revision = dest.resource.file.last_revision.clone new_revision.increase_version DmsfFileRevision::PATCH_VERSION end