Skip to content

Commit 9971d6c

Browse files
committed
Merge pull request markmandel#5 from d1rtym0nk3y/develop
fixed unscoped variable
2 parents baa7a20 + 5b72797 commit 9971d6c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

javaloader/JavaLoader.cfc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -478,11 +478,11 @@ Purpose: Utlitity class for loading Java Classes
478478
<cfdirectory action="list" name="qJars" directory="#path#" filter="*.jar" sort="name desc"/>
479479
<cfloop query="qJars">
480480
<cfscript>
481-
libName = ListGetAt(name, 1, "-");
481+
libName = ListGetAt(qJars.name, 1, "-");
482482
//let's not use the lib's that have the same name, but a lower datestamp
483483
if(NOT ListFind(jarList, libName))
484484
{
485-
ArrayAppend(aJars, path & "/" & name);
485+
ArrayAppend(aJars, path & "/" & qJars.name);
486486
jarList = ListAppend(jarList, libName);
487487
}
488488
</cfscript>

0 commit comments

Comments
 (0)