Skip to content

Commit

Permalink
add checking for activity object label
Browse files Browse the repository at this point in the history
  • Loading branch information
linsanity committed Dec 13, 2018
1 parent f6d0351 commit c29a6b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webskin/dmProfile/webtopDashboardRecentActivity.cfm
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<cfset eventTypename=application.fapi.findType(qActivity.object) />
<cfif len(eventTypename) AND eventTypename neq "container">
<cfset stObj = application.fapi.getContentObject(qActivity.object) />
<cfif stObj.label NEQ "(incomplete)">
<cfif structKeyExists(stObj, "label") AND stObj.label NEQ "(incomplete)">
<cfset stProfile = oProfile.getProfile(qActivity.userid)>
<tr>
<td nowrap="true"><i class="fa #application.fapi.getContentTypeMetadata(typename="#stObj.Typename#", md="icon", default="fa-file-text")# fa-lg" title="#application.fapi.getContentTypeMetadata(typename="#stObj.Typename#", md="displayname", default="Unknown")#"></i> #stObj.Typename#</td>
Expand Down

0 comments on commit c29a6b4

Please sign in to comment.