XLSX !protect check on write [ci skip]

This commit is contained in:
Logan Houp 2021-11-04 01:14:09 -04:00
parent a7405c4a55
commit 4d00394678

View File

@ -577,7 +577,7 @@ function write_ws_xml(idx/*:number*/, opts, wb/*:Workbook*/, rels)/*:string*/ {
/* sheetCalcPr */
if(ws['!protect'] != null) o[o.length] = write_ws_xml_protection(ws['!protect']);
if(ws['!protect']) o[o.length] = write_ws_xml_protection(ws['!protect']);
/* protectedRanges */
/* scenarios */