mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX: #1458 - GEOIP now does not return any error if it cannot look up the ip address (as it uses a shell command this is not enabled on many WAMP systems)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@60920 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
8d62fbf1aa
commit
900baba303
@ -297,7 +297,8 @@ class Geoip extends Object {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($result == false) {
|
if ($result == false) {
|
||||||
user_error("ip2country($address): geoiplookup executable returned nothing.", E_USER_NOTICE);
|
// don't return any error - @see http://open.silverstripe.com/ticket/1458
|
||||||
|
//user_error("ip2country($address): geoiplookup executable returned nothing.", E_USER_NOTICE);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user