Skip to content

Commit a042c9d

Browse files
committedOct 26, 2016
Followup 858978, fix failing tests
1 parent 8589788 commit a042c9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/core/qgsexpression.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4963,7 +4963,7 @@ QVariant QgsExpression::NodeColumnRef::eval( QgsExpression *parent, const QgsExp
49634963
}
49644964
}
49654965

4966-
if ( context && context->feature().isValid() )
4966+
if ( context && context->hasVariable( QgsExpressionContext::EXPR_FEATURE ) )
49674967
{
49684968
QgsFeature feature = context->feature();
49694969
if ( index >= 0 )

0 commit comments

Comments
 (0)
Please sign in to comment.