We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent b385f42 commit b3d5aabCopy full SHA for b3d5aab
src/server/qgswmsserver.cpp
@@ -2198,9 +2198,8 @@ int QgsWMSServer::configureMapRender( const QPaintDevice* paintDevice ) const
2198
if ( ctx )
2199
{
2200
QgsExpressionContext newContext;
2201
+ newContext.appendScope( QgsExpressionContextUtils::projectScope() );
2202
ctx->setExpressionContext( newContext );
- QgsExpressionContext& expCtx = ctx->expressionContext();
2203
- expCtx.appendScope( QgsExpressionContextUtils::projectScope() );
2204
}
2205
2206
return 0;
0 commit comments