From ea9939178f2d64a75e532b93a0003cefde0dc5ca Mon Sep 17 00:00:00 2001 From: Andrew Newton Date: Fri, 26 Jan 2024 10:57:46 +0000 Subject: [PATCH] fix: fix url helper calls in 2 templates (#28) * 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. --- module/Olcs/view/olcs/user-forgot-username/check-email.phtml | 2 +- module/Olcs/view/olcs/user-registration/check-email.phtml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/module/Olcs/view/olcs/user-forgot-username/check-email.phtml b/module/Olcs/view/olcs/user-forgot-username/check-email.phtml index 1acf0396f..92f99011c 100644 --- a/module/Olcs/view/olcs/user-forgot-username/check-email.phtml +++ b/module/Olcs/view/olcs/user-forgot-username/check-email.phtml @@ -12,7 +12,7 @@ translateReplace( 'user-forgot-username.page.check-email.content', [ - $this->url->fromRoute('auth/login/GET') + $this->url('auth/login/GET') ] ); ?>

diff --git a/module/Olcs/view/olcs/user-registration/check-email.phtml b/module/Olcs/view/olcs/user-registration/check-email.phtml index a5954bce5..4fc71a3a0 100644 --- a/module/Olcs/view/olcs/user-registration/check-email.phtml +++ b/module/Olcs/view/olcs/user-registration/check-email.phtml @@ -23,7 +23,7 @@ echo $this->partial( translateReplace( 'user-registration.page.check-email.content', [ - $this->url->fromRoute('auth/login/GET') + $this->url('auth/login/GET') ] ); ?>