unstable
David Maloney 2011-11-10 18:59:30 -08:00
parent 96766edfd0
commit e82c3ad486
1 changed files with 5 additions and 0 deletions

View File

@ -2970,6 +2970,11 @@ class DBManager
cred_data[datum.gsub("-","_")] = nils_for_nulls(cred.elements[datum].text.to_s.strip)
end
}
%W{source-type source-id}.each { |datum|
if cred.elements[datum].respond_to? :text
cred_data[datum.gsub("-","_").intern] = nils_for_nulls(cred.elements[datum].text.to_s.strip)
end
}
if cred_data[:pass] == "<masked>"
cred_data[:pass] = ""
cred_data[:active] = false