From f257c8b405c6d57f7097afe9dda187e7757ad5fc Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Tue, 26 May 2015 13:43:51 -0400 Subject: [PATCH] Fix NPE --- static/js/pages/new-organization.js | 1 + 1 file changed, 1 insertion(+) diff --git a/static/js/pages/new-organization.js b/static/js/pages/new-organization.js index 85c451115..37613c1e7 100644 --- a/static/js/pages/new-organization.js +++ b/static/js/pages/new-organization.js @@ -45,6 +45,7 @@ $scope.signinStarted = function() { if (Features.BILLING) { PlanService.getMinimumPlan(1, true, function(plan) { + if (!plan) { return; } PlanService.notePlan(plan.stripeId); }); }