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.
The following notice
Notice: Undefined property: stdClass::$field_location in location_views_proximity_get_reference_location() (line 526 of /path/to/sites/all/modules/location/location.views.inc).
can be avoided with the attached patch which just checks if $tempnode->$field_name
is set.
Comment | File | Size | Author |
---|---|---|---|
location-location.views_1.patch | 1.06 KB | hutch | |
Comments
Comment #1
rooby CreditAttribution: rooby commentedThanks, committed to 6 & 7 branches.
http://drupalcode.org/project/location.git/commit/4800155
http://drupalcode.org/project/location.git/commit/c4d281a
http://drupalcode.org/project/location.git/commit/dbfc6ea