diff --git a/code/GoogleSitemap.php b/code/GoogleSitemap.php index b5d366b..2d077d3 100644 --- a/code/GoogleSitemap.php +++ b/code/GoogleSitemap.php @@ -236,7 +236,7 @@ class GoogleSitemap { * @return string Response text */ public static function ping() { - if(!self::$enabled) { + if(!self::enabled()) { return false; }