Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Commit 2670f47

Browse files
committed
Handle what appears to be PACTs being weird about user avatars
1 parent c79c486 commit 2670f47

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/main/com/topcoder/web/tc/view/pacts/client/PaymentHistory.jsp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,12 @@
9696
}(window,document,"script",scriptURL,"tcUniNav");
9797
9898
var imagePath = '<%=sessionInfo.getImagePath()%>';
99+
100+
if(imagePath=='nullnull'){
101+
imagePath=undefined;
102+
}
99103
100-
var photoUrl = imagePath;//(imagePath && imagePath.length > 0) ? ('https://' + serverName + '/' + imagePath) : undefined;
104+
var photoUrl = imagePath;
101105
102106
var userId = ${userId};
103107
var handle = '${userHandle}';

0 commit comments

Comments
 (0)