Skip to content

Commit

Permalink
PHP 8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
daftspunk committed Mar 4, 2025
1 parent 6e490fe commit 3b9a727
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion behaviors/TranslatablePageUrl.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public function hasTranslatablePageUrl($locale = null)
{
$locale = $locale ?: $this->translatableContext;

return strlen($this->getSettingsUrlAttributeTranslated($locale)) > 0;
return strlen((string) $this->getSettingsUrlAttributeTranslated($locale)) > 0;
}

/**
Expand Down

0 comments on commit 3b9a727

Please sign in to comment.