Skip to content

Commit cda9f94

Browse files
author
mhugent
committed
Fixed a bug relating the attribute definitions in WFS provider
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6675 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent fc34e92 commit cda9f94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/providers/wfs/qgswfsprovider.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ int QgsWFSProvider::readAttributesFromSchema(QDomDocument& schemaDoc, QString& g
573573
}
574574
else //todo: distinguish between numerical and non-numerical types
575575
{
576-
fields[i] = QgsField(name, type);
576+
fields[fields.size()] = QgsField(name, type);
577577
}
578578
}
579579
return 0;

0 commit comments

Comments
 (0)