Skip to content

Commit

Permalink
Use accessor instead of direct variables access.
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Peterson authored and Eric Peterson committed Dec 7, 2016
1 parent 1dd330b commit 6f54077
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/Query/Builder.cfc
Expand Up @@ -759,7 +759,7 @@ component displayname="Builder" accessors="true" {
private any function run( required string sql, struct options = {} ) {
var q = runQuery( argumentCollection = arguments );

if ( variables.returningArrays ) {
if ( getReturningArrays() ) {
return getUtils().queryToArrayOfStructs( q );
}

Expand Down

0 comments on commit 6f54077

Please sign in to comment.