Skip to content

Commit

Permalink
Merge pull request #101 from creative-commoners/pulls/2.4/exists
Browse files Browse the repository at this point in the history
FIX Ensure page has extension before calling method
  • Loading branch information
GuySartorelli authored Mar 3, 2024
2 parents 8287278 + 66da923 commit 0a17d0c
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 0a17d0c

Please sign in to comment.