mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
Followup 858978, fix failing tests
This commit is contained in:
parent
8589788544
commit
a042c9decc
@ -4963,7 +4963,7 @@ QVariant QgsExpression::NodeColumnRef::eval( QgsExpression *parent, const QgsExp
|
||||
}
|
||||
}
|
||||
|
||||
if ( context && context->feature().isValid() )
|
||||
if ( context && context->hasVariable( QgsExpressionContext::EXPR_FEATURE ) )
|
||||
{
|
||||
QgsFeature feature = context->feature();
|
||||
if ( index >= 0 )
|
||||
|
Loading…
x
Reference in New Issue
Block a user