format does not allow numbers

This commit is contained in:
Sam
2015-07-23 15:33:38 +10:00
parent c056c3ba7e
commit 786cf6e61f
2 changed files with 3 additions and 3 deletions

View File

@@ -24,7 +24,7 @@ class GlobalSetting
end
end
hostnames = [ hostname ]
hostnames << hostname2 if hostname2.present?
hostnames << backup_hostname if backup_hostname.present?
hash["host_names"] = hostnames
hash["database"] = db_name