Skip to content

Commit

Permalink
fix #2680
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@13404 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Apr 27, 2010
1 parent cc63f6e commit 03683a7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/providers/postgres/qgspostgresprovider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2510,7 +2510,7 @@ bool QgsPostgresProvider::deleteAttributes( const QgsAttributeIds& ids )
{
bool returnvalue = true;

if ( !isQuery )
if ( isQuery )
return false;

if ( !connectRW() )
Expand Down Expand Up @@ -2558,7 +2558,7 @@ bool QgsPostgresProvider::changeAttributeValues( const QgsChangedAttributesMap &
{
bool returnvalue = true;

if ( !isQuery )
if ( isQuery )
return false;

if ( !connectRW() )
Expand Down Expand Up @@ -2642,7 +2642,7 @@ bool QgsPostgresProvider::changeGeometryValues( QgsGeometryMap & geometry_map )
{
QgsDebugMsg( "entering." );

if ( !isQuery )
if ( isQuery )
return false;

if ( !connectRW() )
Expand Down

0 comments on commit 03683a7

Please sign in to comment.