 	strNav ="";
 	for(i=1;i lte arrayLen(navigation);i=i+1) {
 		stNavi = navigation[i];
-		hasChildren=StructKeyExists(stNavi,"children");
+		hasChildren=structKeyExists(stNavi,"children");
 
 
 		subNav="";

		<cfset language.__position=0>
		<cfif isDefined('xml.xmlRoot.XmlAttributes.action')>
			<cfset language.__action=trim(xml.xmlRoot.XmlAttributes.action)>
			<cfset language.__position=StructKeyExists(xml.xmlRoot.XmlAttributes,"position")?xml.xmlRoot.XmlAttributes.position:0>
		</cfif>
		<cftry>
				<cfset xml = XmlSearch(xml, "/languages/language[@key='#lCase(trim(arguments.lang))#']")[1]>


<!--- cookie ---->
<cfset fromCookie=false>
<cfif not structKeyExists(session, "password" & request.adminType) and structKeyExists(cookie,'lucee_admin_pw_#server.lucee.version#_#ad#')>
	<cfset fromCookie=true>
	<cftry>
		<cfset session["password"&ad]=cookie['lucee_admin_pw_#server.lucee.version#_#ad#']>
