Skip to content

Commit

Permalink
small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
atruskie committed Mar 30, 2013
1 parent e8fafef commit a58f76d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/angular/controllers/experiments.js
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@
lowestCode = lowestCodes[1];
}

if (lowestCode.length !== 2) {
if (!lowestCode || lowestCode.length !== 2) {
throw "Experiment configuration incorrect";
}

Expand Down

0 comments on commit a58f76d

Please sign in to comment.