Skip to content

Commit

Permalink
Fix for method_exists parameter error
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelHoughton committed Aug 21, 2024
1 parent aeae2ce commit c8cdac8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Extension/FluentSiteTreeExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ protected function getLocaleStatusMessage(): ?string
$info = $owner->LocaleInformation($locale);

// Our content hasn't been drafted or published.
if (method_exists($info && 'getSourceLocale') && $info->getSourceLocale()) {
if (method_exists($info, 'getSourceLocale') && $info->getSourceLocale()) {
// If this Locale has a Fallback, then content might be getting inherited from that Fallback.
return _t(
__CLASS__ . '.LOCALESTATUSFLUENTINHERITED',
Expand Down

0 comments on commit c8cdac8

Please sign in to comment.