Skip to content

Commit a0a44f2

Browse files
committedOct 26, 2015
Fix critical regression in WFS provider (introduced with 5be0ee7). Funded by Sourcepole QGIS Enterprise
1 parent da5e73e commit a0a44f2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
 

‎src/providers/wfs/qgswfsfeatureiterator.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ QgsWFSFeatureIterator::QgsWFSFeatureIterator( QgsWFSFeatureSource* source, bool
2525
{
2626
mSelectedFeatures = mSource->mSpatialIndex->intersects( request.filterRect() );
2727
}
28-
29-
if ( request.filterType() == QgsFeatureRequest::FilterFid )
28+
else if ( request.filterType() == QgsFeatureRequest::FilterFid )
3029
{
3130
mSelectedFeatures.push_back( request.filterFid() );
3231
}

0 commit comments

Comments
 (0)
Please sign in to comment.