Skip to content

Commit

Permalink
Fix quotedValue in postgres sql expression compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugo Mercier authored and nyalldawson committed Jan 18, 2016
1 parent b60d768 commit ed54e3c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/providers/postgres/qgspostgresexpressioncompiler.cpp
Expand Up @@ -26,8 +26,9 @@ QString QgsPostgresExpressionCompiler::quotedIdentifier( const QString& identifi
return QgsPostgresConn::quotedIdentifier( identifier );
}

QString QgsPostgresExpressionCompiler::quotedValue( const QVariant& value, bool& )
QString QgsPostgresExpressionCompiler::quotedValue( const QVariant& value, bool& ok )
{
ok = true;
return QgsPostgresConn::quotedValue( value );
}

0 comments on commit ed54e3c

Please sign in to comment.