We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 48d8465 + 3ac7eda commit 0710f5aCopy full SHA for 0710f5a
helpers/sheet.cfc
@@ -204,7 +204,7 @@ component extends="base"{
204
return ArrayMap( intermediateResult.data, ( row )=>{
205
var rowAsOrderedStruct = [:];
206
ArrayEach( intermediateResult.columns, ( column, index )=>{
207
- rowAsOrderedStruct[ column ] = row[ index ];
+ rowAsOrderedStruct[ column ] = ( index <= row.Len() ) ? row[ index ] : "";
208
});
209
return rowAsOrderedStruct;
210
})
0 commit comments