Skip to content

Commit

Permalink
fix typo 8815f2e
Browse files Browse the repository at this point in the history
  • Loading branch information
rldhont committed Oct 7, 2016
1 parent 8815f2e commit 8b6e544
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/qgsserverprojectparser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1541,7 +1541,7 @@ void QgsServerProjectParser::addJoinLayersForElement( const QDomElement& layerEl
{
QString id = joinNodeList.at( i ).toElement().attribute( "joinLayerId" );
QgsMapLayer* layer = mapLayerFromLayerId( id );
if ( layer && !QgsMapLayerRegistry::instance()->mapLayer( id ))
if ( layer && !QgsMapLayerRegistry::instance()->mapLayer( id ) )
{
QgsMapLayerRegistry::instance()->addMapLayer( layer, false, false );
}
Expand Down

0 comments on commit 8b6e544

Please sign in to comment.