allscripts_unity_client 1.2.1 → 1.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -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
|
|