Skip to content
Permalink
Browse files

Update src/providers/postgres/qgspostgresprovider.cpp

Co-authored-by: Alessandro Pasotti <elpaso@itopen.it>
  • Loading branch information
jgrocha and elpaso committed May 4, 2020
1 parent 1d0fa9f commit 2b9b4ed036619b27b25f02eff44041c17cdb0acb
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/providers/postgres/qgspostgresprovider.cpp
@@ -4886,7 +4886,7 @@ bool QgsPostgresProviderMetadata::saveStyle( const QString &uri, const QString &
uiFileValue = QStringLiteral( ",XMLPARSE(DOCUMENT %1)" ).arg( QgsPostgresConn::quotedValue( uiFileContent ) );
}

QString wkbTypeString = QgsPostgresConn::quotedValue( QgsWkbTypes::geometryDisplayString( QgsWkbTypes::geometryType( dsUri.wkbType() ) ) );
const QString wkbTypeString = QgsPostgresConn::quotedValue( QgsWkbTypes::geometryDisplayString( QgsWkbTypes::geometryType( dsUri.wkbType() ) ) );

// Note: in the construction of the INSERT and UPDATE strings the qmlStyle and sldStyle values
// can contain user entered strings, which may themselves include %## values that would be

0 comments on commit 2b9b4ed

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