Project

General

Profile

« Previous | Next » 

Revision ba434abd

Added by Ohad Levy almost 12 years ago

  • ID ba434abdc642e07919698ec3374109920ab15720

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