Skip to content

Commit

Permalink
Revert "fix typo 1df9d7e"
Browse files Browse the repository at this point in the history
This reverts commit db1b52a.
  • Loading branch information
rldhont committed Oct 10, 2016
1 parent be58cd7 commit f4cae33
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 @@ -1547,7 +1547,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 f4cae33

Please sign in to comment.