From: Terran McCanna Date: Tue, 6 Sep 2022 13:31:33 +0000 (-0400) Subject: Online Renewal - fix typos X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=373db0ef4deb1476437e53b40522cd5bc986e99c;p=evergreen%2Fpines.git Online Renewal - fix typos Signed-off-by: Terran McCanna --- diff --git a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm index fbc56292c2..c60f25bf38 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm @@ -194,7 +194,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? diff --git a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Ecard.pm b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Ecard.pm index 72f41be775..5fa79cecfd 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Ecard.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Ecard.pm @@ -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'; }