From 9fdeb9e19e6543fcaee46eaa972d65cac5c3cd2d Mon Sep 17 00:00:00 2001 From: Alec Papierniak Date: Fri, 7 Sep 2018 15:58:46 -0500 Subject: [PATCH] Checking if exponent is not null prior to assignment --- MvcCodeFlowClientManual/Controllers/HomeController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MvcCodeFlowClientManual/Controllers/HomeController.cs b/MvcCodeFlowClientManual/Controllers/HomeController.cs index 645e1b5..d11a142 100644 --- a/MvcCodeFlowClientManual/Controllers/HomeController.cs +++ b/MvcCodeFlowClientManual/Controllers/HomeController.cs @@ -84,7 +84,7 @@ public async Task Index() //Mod AppController.mod = key.N; } - if (key.N != null) + if (key.E != null) { //Exponent AppController.expo = key.E;