Skip to content

Commit 5a07f5e

Browse files
authored
address - potential fix (#269)
1 parent c900577 commit 5a07f5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

HNTAS/HNTAS.Web.UI/Controllers/AddressController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ public IActionResult AddressManualEntry(AddressByStreetOrTownModel model)
200200
.Where(part => !string.IsNullOrWhiteSpace(part));
201201
model.Fulladdress = string.Join(", ", addressParts);
202202
var heatNetworkLocationModel = _sessionHelper.GetFromSession<HeatNetworkLocationModel>(HttpContext, SessionKeys.HeatNetworkLocationModelKey) ?? new HeatNetworkLocationModel();
203-
heatNetworkLocationModel?.HNAddressByStreet = model;
203+
heatNetworkLocationModel.HNAddressByStreet = model;
204204
_sessionHelper.SaveToSession(HttpContext, SessionKeys.HeatNetworkLocationModelKey, heatNetworkLocationModel);
205205

206206
return RedirectToAction("ECCoordinates", "Coordinates");

0 commit comments

Comments
 (0)