'Save as' from Excel does not work when using project names #700
This commit is contained in:
parent
b51b6fdebd
commit
31334f4637
@ -122,7 +122,7 @@ module RedmineDmsf
|
||||
# 1. Invalid characters are replaced with a dot.
|
||||
# 2. Two or more dots in a row are replaced with a single dot.
|
||||
# (3. Windows WebClient does not like a dot at the end, but since the project id tag is appended this is not a problem.)
|
||||
"#{p.name.gsub(DmsfFolder.INVALID_CHARACTERS, ".").gsub(/\.{2,}/, '.')} #{p.id}" unless p.nil?
|
||||
"#{p.name.gsub(DmsfFolder::INVALID_CHARACTERS, ".").gsub(/\.{2,}/, '.')} #{p.id}" unless p.nil?
|
||||
else
|
||||
p.identifier unless p.nil?
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user