Project

General

Profile

« Previous | Next » 

Revision 8f87064c

Added by Ohad Levy almost 12 years ago

  • ID 8f87064c53a972dfaa2b73a922752ace0f15f792

fixes #1781 - clone host can fail

View differences:

app/helpers/hosts_helper.rb
end
def name_field host
return if host.name.blank?
(SETTINGS[:unattended] and host.managed?) ? host.shortname : host.name
end

Also available in: Unified diff