Fix JS NPE

This commit is contained in:
Joseph Schorr 2015-02-24 15:42:31 -05:00
parent b7901d2adb
commit 45bb05894b

View file

@ -120,7 +120,7 @@ function(KeyService, UserService, CookieService, ApiService, Features, Config) {
};
planService.getPlans = function(callback, opt_includePersonal) {
planService.verifyLoaded(function() {
planService.verifyLoaded(function(plans) {
var filtered = [];
for (var i = 0; i < plans.length; ++i) {
var plan = plans[i];