Closed (cannot reproduce)
Project:
IP to Locale
Version:
6.x-1.0-beta1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 May 2010 at 09:13 UTC
Updated:
27 Mar 2011 at 12:12 UTC
Hi,
I'm working on a local installation and I get the following message:
Notice: Undefined index: HTTP_REFERER in my/drupal/folder/modules/ip2locale/ip2locale.module on line 140
I suggest to replace line 140 with the following:
if (!isset($_SERVER['HTTP_REFERER']) || (isset($_SERVER['HTTP_REFERER']) && strpos($_SERVER['HTTP_REFERER'], $_SERVER['SERVER_NAME']))) return FALSE;
Marco
Comments
Comment #1
mrfelton commentedI can't reproduce this issue. Please try with the latest dev code and reopen if its still an issue.