Fixes: U4-4530 Edit Profile Snippet: Check for null before loop
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user