Skip to content

Commit

Permalink
Revert potential BC break in protected method
Browse files Browse the repository at this point in the history
Signed-off-by: George Steel <[email protected]>
  • Loading branch information
gsteel committed May 30, 2023
1 parent 375dad3 commit 02a1311
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Helper/Navigation/AbstractHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ public function htmlify(AbstractPage $page)
protected function translate($message, $textDomain = null)
{
if (! is_string($message) || empty($message)) {
return '';
return $message;
}

if (! $this->isTranslatorEnabled() || ! $this->hasTranslator()) {
Expand Down

0 comments on commit 02a1311

Please sign in to comment.