Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix crash if calling GetProjectSettings the first time
  • Loading branch information
mhugent committed Nov 1, 2012
1 parent 29ed401 commit af575b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mapserver/qgis_map_serv.cpp
Expand Up @@ -456,7 +456,7 @@ int main( int argc, char * argv[] )
continue;
}
capabilitiesCache.insertCapabilitiesDocument( configFilePath, getProjectSettings ? "projectSettings" : version, &doc );
capabilitiesDocument = capabilitiesCache.searchCapabilitiesDocument( configFilePath, version );
capabilitiesDocument = capabilitiesCache.searchCapabilitiesDocument( configFilePath, getProjectSettings ? "projectSettings" : version );
}
else
{
Expand Down

0 comments on commit af575b7

Please sign in to comment.