Skip to content

Commit

Permalink
Fix to user properties not being rendered
Browse files Browse the repository at this point in the history
  • Loading branch information
donker committed Sep 11, 2014
1 parent b5ee527 commit 33a4c23
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Components/Templating/LazyLoadingUser.vb
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,10 @@ Namespace Templating
End If
If PropertyNotFound Then
res = User.Profile.GetPropertyValue(strPropertyName)
If Not String.IsNullOrEmpty(res) Then Return res
End If
If Not String.IsNullOrEmpty(res) Then
PropertyNotFound = False
Return res
End If
PropertyNotFound = True
Return Null.NullString
Expand Down

0 comments on commit 33a4c23

Please sign in to comment.