Skip to content

Commit

Permalink
Support blank ID param
Browse files Browse the repository at this point in the history
  • Loading branch information
rgertenbach committed May 14, 2016
1 parent 2573bef commit a5016fb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Front End.gs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* @customfunction
*/
function melt(Range, IDs, Measure, Value, BlanksBehavior) {
if (BlanksBehavior === undefined) {
if (BlanksBehavior === undefined || BlanksBehavior === "") {
BlanksBehavior = -1;
}

Expand All @@ -41,7 +41,6 @@ function melt(Range, IDs, Measure, Value, BlanksBehavior) {
}
}


Range = table(Range, 0);
Measure = Measure || "measure";
Value = Value || "value";
Expand Down

0 comments on commit a5016fb

Please sign in to comment.