Skip to content
Permalink
Browse files

postgis provider: fix geometry detection

  • Loading branch information
jef-n committed Jan 17, 2012
1 parent 98876da commit 6c9663c492f7481f77768f847c68853020cf0c73
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/providers/postgres/qgspostgresprovider.cpp
@@ -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;
}

0 comments on commit 6c9663c

Please sign in to comment.
You can’t perform that action at this time.