Skip to content

Commit 6c9663c

Browse files
committed
postgis provider: fix geometry detection
1 parent 98876da commit 6c9663c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/providers/postgres/qgspostgresprovider.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -2663,7 +2663,7 @@ bool QgsPostgresProvider::getGeometryDetails()
26632663
srid = QString::number( layerProperty.srid );
26642664
}
26652665

2666-
if ( type.isEmpty() && !type.contains( "," ) )
2666+
if ( !type.isEmpty() && !type.contains( "," ) )
26672667
{
26682668
type = layerProperty.type;
26692669
}

0 commit comments

Comments
 (0)