Skip to content

Commit aab08cb

Browse files
committedNov 30, 2012
Remove InsertResults
1 parent 85faeb3 commit aab08cb

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed
 

‎src/mapserver/qgswfsserver.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1469,16 +1469,14 @@ QDomDocument QgsWFSServer::transaction( const QString& requestBody )
14691469
// Put the Feature Ids of the inserted feature
14701470
if ( insertResults.size() > 0 )
14711471
{
1472-
QDomElement irsElem = doc.createElement( "InsertResults" );
14731472
foreach (const QString &fidStr, insertResults)
14741473
{
14751474
QDomElement irElem = doc.createElement( "InsertResult" );
14761475
QDomElement fiElem = doc.createElement( "ogc:FeatureId" );
14771476
fiElem.setAttribute( "fid", fidStr );
14781477
irElem.appendChild( fiElem );
1479-
irsElem.appendChild( irElem );
1478+
respElem.appendChild( irElem );
14801479
}
1481-
respElem.appendChild( irsElem );
14821480
}
14831481

14841482
// Set the transaction reposne for success

0 commit comments

Comments
 (0)
Please sign in to comment.