sw 10 years ago
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…
Cancel
Save