Fixes: U4-4530 Edit Profile Snippet: Check for null before loop

This commit is contained in:
Shannon
2014-03-27 16:52:43 +11:00
parent f26c61d736
commit 264c537b50
3 changed files with 29 additions and 8 deletions

View File

@@ -20,7 +20,7 @@
@*NOTE: This RenderJsHere code should be put on your main template page where the rest of your script tags are placed*@
@Html.RenderJsHere()
@if (Members.IsLoggedIn())
@if (Members.IsLoggedIn() && profileModel != null)
{
if (success)
{