Skip to content
Permalink
Browse files

[BUGFIX][Server] Segfault in WFS GetCapabilities

  • Loading branch information
rldhont committed Apr 10, 2018
1 parent 4a885e6 commit c625f95befdc4c401983cbb213b7030a1f7ffab9
@@ -421,6 +421,10 @@ namespace QgsWfs
for ( const QString &wfsLayerId : wfsLayerIds )
{
QgsMapLayer *layer = project->mapLayer( wfsLayerId );
if ( !layer )
{
continue;
}
if ( layer->type() != QgsMapLayer::LayerType::VectorLayer )
{
continue;
@@ -266,6 +266,10 @@ namespace QgsWfs
for ( const QString &wfsLayerId : wfsLayerIds )
{
QgsMapLayer *layer = project->mapLayer( wfsLayerId );
if ( !layer )
{
continue;
}
if ( layer->type() != QgsMapLayer::LayerType::VectorLayer )
{
continue;

0 comments on commit c625f95

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