Skip to content
Permalink
Browse files

fix #1744

git-svn-id: http://svn.osgeo.org/qgis/trunk@10969 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Jun 23, 2009
1 parent 6faf04d commit f76f8a94e604eb8603d988d196e8c02065bd8a49
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/providers/postgres/qgspostgresprovider.cpp
@@ -1983,8 +1983,9 @@ QByteArray QgsPostgresProvider::paramValue( QString fieldValue, const QString &d
}
else
{
QString val = QString::fromUtf8( PQgetvalue( result, 0, 0 ) );
PQclear( result );
return QString::fromUtf8( PQgetvalue( result, 0, 0 ) ).toUtf8();
return val.toUtf8();
}
}

0 comments on commit f76f8a9

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