liqiusheng / silverstripe-ecommerce

Automatically exported from code.google.com/p/silverstripe-ecommerce
0 stars 0 forks source link

Parse error: syntax error, unexpected ')' in C:\wamp\www\ecommerce\code\model\address\EcommerceCountry.php on line 495 #535

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
e-commerce version: trunk 17.07.2013

http://127.0.0.1/dev/build?flush=all

 Parse error: syntax error, unexpected ')' in C:\wamp\www\ecommerce\code\model\address\EcommerceCountry.php on line 495

    public function getCountry() {
        if(class_exists("Geoip")) {
            return Geoip::visitor_country();
        }
        user_error("You need to install Geoip, which should have a method Geoip::visitor_country, returning the country code associated with the user's IP address". );
    }

Regards,
Jose A.

Original issue reported on code.google.com by supp...@sendasoft.com on 17 Jul 2013 at 5:57

GoogleCodeExporter commented 8 years ago
Typo corrected

Original comment by astuart....@gmail.com on 17 Jul 2013 at 9:42