Online Renewal - fix typos
authorTerran McCanna <tmccanna@georgialibraries.org>
Tue, 6 Sep 2022 13:31:33 +0000 (09:31 -0400)
committerJason Stephenson <jstephenson@cwmars.org>
Tue, 29 Nov 2022 19:22:33 +0000 (14:22 -0500)
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Ecard.pm

index 604652d..7357e04 100644 (file)
@@ -193,7 +193,7 @@ sub load {
 
     # PINES - online account renewal
     return $self->load_simple("renew-account") if $path =~ m|opac/renew-account|;
-    return $self->load_ecard_submit if $path =~ m|opac/erenew/submit|;
+    return $self->load_ecard_submit if $path =~ m|opac/renew/submit|;
 
     if($path =~ m|opac/login|) {
         return $self->load_login unless $self->editor->requestor; # already logged in?
index 475a7dd..2bd5518 100644 (file)
@@ -17,14 +17,14 @@ my $U = 'OpenILS::Application::AppUtils';
 
 # Check URL to see if this is a new registration or a renewal
 my $refpath = '';
-if ($ENV{'HTTP_REFERER'}) { 
-    $refpath = $ENV{'HTTP_REFERER'}
-}; 
+if ($ENV{'HTTP_REFERER'}) {
+    $refpath = $ENV{'HTTP_REFERER'};
+};
 
 my $update_type = 'register';
 my @api_fields;
 
-if ($refpath =~ m|opac/erenew/submit|) {
+if ($refpath =~ m|opac/renew/submit|) {
     $update_type = 'renew';
 }