Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Line 225:
$envelope_wkt = 'POLYGON ((' . $item['left'] . ' ' . $item['top'] . ', ' . $item['right'] . ' ' . $item['top'] . ', ' . $item['right'] . ' ' . $item['bottom'] . ', ' . $item['left'] . ' ' . $item['bottom'] . ', ' . $item['left'] . ' ' . $item['top'] . ')))';
The third ')' should be removed.
The bug is in 7.x-1.1 too.
Comment | File | Size | Author |
---|---|---|---|
#2 | geofield-wrong-parenthesis-1630498-2.patch | 1.01 KB | esclapes |
Comments
Comment #1
Brandonian CreditAttribution: Brandonian commentedTagging for mapping sprint.
Comment #2
esclapes CreditAttribution: esclapes commentedPatch attached rolled against 7.x-2.x
Comment #3
Brandonian CreditAttribution: Brandonian commentedCommitted to both 1.x and 2.x. Thanks all.
7.x-1.x: http://drupalcode.org/project/geofield.git/commit/b0ffa0f
7.x-2.x: http://drupalcode.org/project/geofield.git/commit/96034f9
Comment #4
Brandonian CreditAttribution: Brandonian commentedAnd marking as fixed... Got distracted. :-(