Project

General

Profile

« Previous | Next » 

Revision fc2ddea7

Added by David Swift almost 10 years ago

fixes #6374 - NIC hostname now blank when domain is present, but no hostname is given

View differences:

app/models/nic/managed.rb
end
def hostname
unless domain.nil?
unless domain.nil? or name.empty?
"#{name}.#{domain.name}"
else
name

Also available in: Unified diff