Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh
This commit is contained in:
commit
d0e564a589
|
@ -514,7 +514,7 @@ private
|
|||
end
|
||||
|
||||
def has_login
|
||||
unless @attachment.container_type == "PhoneAppVersion"
|
||||
unless @attachment && @attachment.container_type == "PhoneAppVersion"
|
||||
render_403 unless User.current.logged?
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue