Skip to content

Commit

Permalink
avoid crash when there's no tag context
Browse files Browse the repository at this point in the history
  • Loading branch information
zspitzer committed May 2, 2021
1 parent 2e73ed9 commit bd5695c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions core/src/main/java/resource/context/admin/debug/Modern.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -1122,8 +1122,10 @@ Reference Button
<td>#exp.type#</td>
<td>#exp.message#</td>
<td>#exp.detail#</td>
<td>#exp.TagContext[1].template#</td>
<td class="txt-r">#exp.TagContext[1].line#</td>
<cfif arrayLen(exp.TagContext) gt 0>
<td>#exp.TagContext[1].template#</td>
<td class="txt-r">#exp.TagContext[1].line#</td>
</cfif>
</tr>
</cfloop>
</tbody>
Expand Down

0 comments on commit bd5695c

Please sign in to comment.