location array has only the ip address in debug mode

Created on 5 December 2016, about 8 years ago
Updated 28 November 2024, 24 days ago

When setting an IP in admin debug mode, location country data is not available in rules conditions. It seems that in debug mode the location array has only the IP address, and not the full location data. I fixed this with the attached patch.

πŸ› Bug report
Status

Closed: outdated

Version

2.48

Component

Code

Created by

πŸ‡ΏπŸ‡¦South Africa Charles Oertel

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • heddn Nicaragua

    Drupal 7 is no longer supported in a month. Closing old issues. If this is still something you want addressed in the current 5.x version of the module, please re-open and provide some next steps.

Production build 0.71.5 2024