 	}
 
 	function unwrap(String str) {
-		str = str.trim();
+		local.str = arguments.str.trim();
 		if((left(str,1)==chr(8220) || left(str,1)=='"') && (right(str,1)=='"' || right(str,1)==chr(8221)))
 			str=mid(str,2,len(str)-2);
 		else if(left(str,1)=="'" && right(str,1)=="'")

            	if(row>0) {
					qry.setCell("provider",provider,row);
					qry.setCell("lastModified",data.lastModified,row);
					if(toVersionSortable(qry.version[row])<toVersionSortable(data.extensions.version)) {
						local.v=qry.version[row];
						loop list="#data.extensions.columnlist()#" item="local.k" {
							if(k=='otherVersions') continue;

	<cffunction name="updateAvailable" output="no">
		<cfargument name="data" required="yes" type="struct">
		<cfargument name="extensions" required="yes" type="query">
		<cfset var result=variables.getdataByid(arguments.data.id,arguments.extensions)>

		<cfif result.count()==0><cfreturn false></cfif>
		<cfif arguments.data.version LT result.version>
			<cfreturn true>
		</cfif>

