Skip to content

Commit

Permalink
fix 61f39d6
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Jun 19, 2015
1 parent dfc2cf0 commit 4542067
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/postgres/qgspostgresprovider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1786,7 +1786,7 @@ bool QgsPostgresProvider::addFeatures( QgsFeatureList &flist )
{
const QgsField &fld = field( attrIdx );
v = paramValue( defaultValues[ attrIdx ], defaultValues[ attrIdx ] );
features->setAttribute( idx, convertValue( fld.type(), v ) );
features->setAttribute( attrIdx, convertValue( fld.type(), v ) );
}
else
{
Expand Down

0 comments on commit 4542067

Please sign in to comment.