Merge branch 'develop' of https://git.trustie.net/jacknudt/trustieforge into develop
This commit is contained in:
commit
9a8ff23984
|
@ -219,11 +219,7 @@ module Redmine
|
||||||
|
|
||||||
if a && !attachment['is_public_checkbox']
|
if a && !attachment['is_public_checkbox']
|
||||||
# 考虑到更新操作,所以全部设置为公开,私有项目、课程是不能访问的
|
# 考虑到更新操作,所以全部设置为公开,私有项目、课程是不能访问的
|
||||||
if is_public
|
|
||||||
a.is_public = true
|
a.is_public = true
|
||||||
else
|
|
||||||
a.is_public = false
|
|
||||||
end
|
|
||||||
elsif a && attachment['is_public_checkbox']
|
elsif a && attachment['is_public_checkbox']
|
||||||
a.is_public = true
|
a.is_public = true
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue