Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

Commit

Permalink
fix: fix url helper calls in 2 templates (#28)
Browse files Browse the repository at this point in the history
* fix: Other template fixes where getHelperPluginManager was being used causing errors

* fix: Corrects usage of url helper in 2 refactored templates. Erroneous call to fromRoute removed. Tested ok.
  • Loading branch information
fibble authored Jan 26, 2024
1 parent 3e2a048 commit ea99391
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<?php echo $this->translateReplace(
'user-forgot-username.page.check-email.content',
[
$this->url->fromRoute('auth/login/GET')
$this->url('auth/login/GET')
]
); ?>
</p>
Expand Down
2 changes: 1 addition & 1 deletion module/Olcs/view/olcs/user-registration/check-email.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ echo $this->partial(
<?php echo $this->translateReplace(
'user-registration.page.check-email.content',
[
$this->url->fromRoute('auth/login/GET')
$this->url('auth/login/GET')
]
); ?>
</p>
Expand Down

0 comments on commit ea99391

Please sign in to comment.