Skip to content

Commit

Permalink
fix(OracleGrammar): Remove elvis operator due to ACF compatibility is…
Browse files Browse the repository at this point in the history
…sues
  • Loading branch information
elpete committed Jun 11, 2020
1 parent 77af3ee commit e4b27b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/Grammars/OracleGrammar.cfc
Expand Up @@ -99,7 +99,7 @@ component extends="qb.models.Grammars.BaseGrammar" singleton {
}

if ( !isNull( query.getLimitValue() ) ) {
var offset = query.getOffsetValue() ?: 0;
var offset = isNull( query.getOffsetValue() ) ? 0 : query.getOffsetValue();
limitAndOffset.append( """QB_RN"" <= #offset + query.getLimitValue()#" );
}

Expand Down

0 comments on commit e4b27b8

Please sign in to comment.