Skip to content

Commit 264e9c4

Browse files
authored
FC-3138 validate url.type in navajo display
1 parent 045b105 commit 264e9c4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tags/navajo/display.cfm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@
6969
<cfparam name="url.view" default="" />
7070

7171
<!--- ensure application.stCOAPI record exists for url.type --->
72-
<cfif StructKeyExists(URL, 'type') AND NOT StructKeyExists(application.stCOAPI, url.type)>
73-
<cfset url.type = ''>
72+
<cfif NOT structKeyExists(application.stCOAPI, url.type)>
73+
<cfset url.type = "">
7474
</cfif>
7575

7676
<!--- get standard webskin names by device type --->
@@ -344,4 +344,4 @@
344344

345345
<core:displayTray />
346346

347-
<cfsetting enablecfoutputonly="false" />
347+
<cfsetting enablecfoutputonly="false" />

0 commit comments

Comments
 (0)