allscripts_unity_client 1.2.1 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -507,9 +507,9 @@ module AllscriptsUnityClient
|
|
507
507
|
# Generate XML structure for rxxml
|
508
508
|
builder = Nokogiri::XML::Builder.new do |xml|
|
509
509
|
xml.taskchanges {
|
510
|
-
xml.refills("value" => taskchanges[:refills]) unless taskchanges[:refills].nil?
|
511
|
-
xml.days("value" => taskchanges[:days]) unless taskchanges[:days].nil?
|
512
|
-
xml.qty("value" => taskchanges[:qty]) unless taskchanges[:qty].nil?
|
510
|
+
xml.refills("value" => taskchanges[:refills]) unless taskchanges.nil? || taskchanges[:refills].nil?
|
511
|
+
xml.days("value" => taskchanges[:days]) unless taskchanges.nil? || taskchanges[:days].nil?
|
512
|
+
xml.qty("value" => taskchanges[:qty]) unless taskchanges.nil? || taskchanges[:qty].nil?
|
513
513
|
}
|
514
514
|
end
|
515
515
|
|