Skip to content
Permalink
Browse files

[BUGFIX][Server] Segfault in WFS DescribeFeatureType and GetFetaure

  • Loading branch information
rldhont committed Apr 12, 2018
1 parent 6cf1433 commit 91a229b743fea3cb181181a27588575de257f872
@@ -130,6 +130,10 @@ namespace QgsWfs
for ( int i = 0; i < wfsLayerIds.size(); ++i )
{
QgsMapLayer *layer = project->mapLayer( wfsLayerIds.at( i ) );
if ( !layer )
{
continue;
}
if ( layer->type() != QgsMapLayer::LayerType::VectorLayer )
{
continue;
@@ -132,6 +132,10 @@ namespace QgsWfs
for ( int i = 0; i < wfsLayerIds.size(); ++i )
{
QgsMapLayer *layer = project->mapLayer( wfsLayerIds.at( i ) );
if ( !layer )
{
continue;
}
if ( layer->type() != QgsMapLayer::LayerType::VectorLayer )
{
continue;

0 comments on commit 91a229b

Please sign in to comment.
You can’t perform that action at this time.