Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
postgis provider: fix geometry detection
  • Loading branch information
jef-n committed Jan 17, 2012
1 parent 98876da commit 6c9663c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/postgres/qgspostgresprovider.cpp
Expand Up @@ -2663,7 +2663,7 @@ bool QgsPostgresProvider::getGeometryDetails()
srid = QString::number( layerProperty.srid );
}

if ( type.isEmpty() && !type.contains( "," ) )
if ( !type.isEmpty() && !type.contains( "," ) )
{
type = layerProperty.type;
}
Expand Down

0 comments on commit 6c9663c

Please sign in to comment.