Skip to content

Commit

Permalink
Do not include attr if absent (#1349)
Browse files Browse the repository at this point in the history
  • Loading branch information
pskl authored Jan 22, 2025
1 parent 5d425c0 commit 3de91da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/asp/entities/adresse/indu.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def root_node_name

def fragment(xml)
xml.pointremise(pointremise)
xml.cpltdistribution(cpltdistribution)
xml.cpltdistribution(cpltdistribution) if cpltdistribution.present?
xml.codetypeadr(codetypeadr)
xml.codeinseepays(codeinseepays)
xml.codepostalcedex(codepostalcedex)
Expand Down

0 comments on commit 3de91da

Please sign in to comment.