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:
Will Rossiter 2008-08-18 03:13:40 +00:00
parent 8d62fbf1aa
commit 900baba303

View File

@ -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;
} }