Skip to content

Commit

Permalink
fixes #50
Browse files Browse the repository at this point in the history
  • Loading branch information
skamphuis committed Oct 28, 2020
1 parent df2d605 commit 25d1420
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Components/Layout/LayoutController.vb
Original file line number Diff line number Diff line change
Expand Up @@ -2809,6 +2809,15 @@ Namespace Ventrian.NewsArticles
objLiteral.EnableViewState = False
objPlaceHolder.Add(objLiteral)

Case "image"
Dim objLiteral As New Literal
If profilePropertyValue = String.Empty Then
objLiteral.Text = String.Empty
Else
objLiteral.Text = UrlUtils.EncryptParameter(UrlUtils.GetParameterValue($"fileid={profilePropertyValue}"), PortalSettings.GUID.ToString())
End If
objPlaceHolder.Add(objLiteral)

Case Else
Dim objLiteral As New Literal
If profilePropertyValue = String.Empty Then
Expand Down

0 comments on commit 25d1420

Please sign in to comment.