Skip to content

Commit

Permalink
Fix for replacing the same folder. If the folders do not match return
Browse files Browse the repository at this point in the history
self.
  • Loading branch information
Doug Youch committed Jul 29, 2010
1 parent e7ec919 commit e02dc88
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions app/models/domain_file.rb
Original file line number Diff line number Diff line change
Expand Up @@ -156,10 +156,9 @@ def replace_same
match.replace(self)
return match
end
return self
end
return false


self
end

# Copy copy this file to a new file
Expand Down

0 comments on commit e02dc88

Please sign in to comment.