Skip to content

Commit

Permalink
fix bug when an elem have a relation with tags and other withour
Browse files Browse the repository at this point in the history
  • Loading branch information
thibaut committed Oct 17, 2023
1 parent 8d0da29 commit 5df8c5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pumla_macros_global.puml
Original file line number Diff line number Diff line change
Expand Up @@ -785,7 +785,7 @@ PUMLAInterface($ifname, $ifalias, $elemalias, $type)
!endif
!endfor

!if ((($el.start == $elemalias) || ($el.end == $elemalias)) && ($el.reltype == $reltype))
!if ((($el.start == $elemalias) || ($el.end == $elemalias)) && ($el.reltype == $reltype) && (($tag == "") || ($tv_found == "YES")))
' make sure to not put the same relation twice
!if (%not(%variable_exists($$el.id)))
PUMLAPutRelation($el.id)
Expand Down

0 comments on commit 5df8c5b

Please sign in to comment.