mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-04 00:30:59 -05:00
Merge pull request #32345 from elpaso/bugfix-gh32338-getcap-crash
Server fix getCapabilities crash when plugins are off
This commit is contained in:
commit
13ad9d66be
@ -62,6 +62,7 @@ namespace QgsWfs
|
||||
}
|
||||
#else
|
||||
doc = createGetCapabilitiesDocument( serverIface, project, version, request );
|
||||
capabilitiesDocument = &doc;
|
||||
#endif
|
||||
response.setHeader( QStringLiteral( "Content-Type" ), QStringLiteral( "text/xml; charset=utf-8" ) );
|
||||
response.write( capabilitiesDocument->toByteArray() );
|
||||
|
@ -63,6 +63,7 @@ namespace QgsWfs
|
||||
}
|
||||
#else
|
||||
doc = createGetCapabilitiesDocument( serverIface, project, version, request );
|
||||
capabilitiesDocument = &doc;
|
||||
#endif
|
||||
response.setHeader( QStringLiteral( "Content-Type" ), QStringLiteral( "text/xml; charset=utf-8" ) );
|
||||
response.write( capabilitiesDocument->toByteArray() );
|
||||
|
Loading…
x
Reference in New Issue
Block a user