From 66da9235029584a1cb731beceba18d16111162f4 Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Thu, 29 Feb 2024 14:05:44 +1300 Subject: [PATCH] FIX Ensure page has extension before calling method --- src/VersionFeedController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/VersionFeedController.php b/src/VersionFeedController.php index 47e8b5d..e65adc6 100644 --- a/src/VersionFeedController.php +++ b/src/VersionFeedController.php @@ -191,6 +191,7 @@ public function linkToAllSiteRSSFeed() { if (!Config::inst()->get(VersionFeed::class, 'allchanges_enabled') || !SiteConfig::current_site_config()->AllChangesEnabled + || !method_exists($this->owner, 'getSiteRSSLink') ) { return; }