Port of PR #7405 from 3.x to master : Solves potential crash when an extended instruments.xml is written. It never happened because that function is disabled at 2018-06-05.
This commit is contained in:
parent
8e1b4a6255
commit
5440beed7d
|
@ -352,7 +352,7 @@ void InstrumentTemplate::write(XmlWriter& xml) const
|
|||
ma.write(xml);
|
||||
}
|
||||
}
|
||||
if (!family) {
|
||||
if (family) {
|
||||
xml.tag("family", family->id);
|
||||
}
|
||||
xml.etag();
|
||||
|
|
Loading…
Reference in a new issue