? .geomFromText_Collection.patch.swp
? .vimrc
? ChangeLog
? geo_field_fix.patch
? geo_field_validate.patch
? geo_openlayers_0.patch
? geo_postgis_add_field_ErrorHandling.patch
? geo_simple_wkt_parse_error.patch
? geomFromText_Collection.patch
? includes/handlers/.geo_simple.inc.swp
? includes/handlers/geometryTypes.patch
? modules/geo_openlayers
? modules/geo_openlayers-0.0.1.tgz
Index: includes/handlers/geo_simple.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/geo/includes/handlers/geo_simple.inc,v
retrieving revision 1.7
diff -r1.7 geo_simple.inc
124,125c124,127
<     preg_match('/^\s*(\D+)\W/Ui', $wkt, $m);
<     if (defined('GEO_TYPE_'. ($name = strtoupper($m[1])))) {
---
>     preg_match('/^\s*(\D+)\W/Ui', $wkt, $m); // TODO: check for actual match !
>     $name = strtoupper($m[1]);
>     if ( $name == 'GEOMETRYCOLLECTION' ) $name = 'COLLECTION';
>     if (defined('GEO_TYPE_'. $name)) {
