From b9dd2d826ebe4261e8a9147b9312eb37ddeb00f9 Mon Sep 17 00:00:00 2001 From: Henry Oswald Date: Tue, 4 Nov 2014 10:53:03 +0000 Subject: [PATCH] added null check on subscription for group plans --- .../coffee/Features/Subscription/SubscriptionController.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/app/coffee/Features/Subscription/SubscriptionController.coffee b/services/web/app/coffee/Features/Subscription/SubscriptionController.coffee index de31497fc0..530f41e2c0 100644 --- a/services/web/app/coffee/Features/Subscription/SubscriptionController.coffee +++ b/services/web/app/coffee/Features/Subscription/SubscriptionController.coffee @@ -92,7 +92,7 @@ module.exports = SubscriptionController = plans = SubscriptionViewModelBuilder.buildViewModel() res.render "subscriptions/dashboard", title: "your_subscription" - recomendedCurrency: subscription.currency + recomendedCurrency: subscription?.currency plans: plans subscription: subscription groups: groups