Skip to content

Commit

Permalink
FIX Ensure page has extension before calling method
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Feb 29, 2024
1 parent 8287278 commit 66da923
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/VersionFeedController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 66da923

Please sign in to comment.