From f75afef59175933f7e93b04bdcbdcf5180b0b024 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Fri, 14 Oct 2016 11:29:44 +0200 Subject: [PATCH] Bug 17446: Typo seleted Built on top of bug 17441 Test plan: Just have a look at the changes. Trivial. Git grep seleted. No results. Signed-off-by: Katrin Fischer Signed-off-by: Brendan Gallagher --- C4/Letters.pm | 2 +- acqui/lateorders.pl | 4 ++-- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/C4/Letters.pm b/C4/Letters.pm index 613300f3d7..4d1731cba2 100644 --- a/C4/Letters.pm +++ b/C4/Letters.pm @@ -474,7 +474,7 @@ sub SendAlerts { }; if (!@$externalid){ - carp "No Order seleted"; + carp "No Order selected"; return { error => "no_order_selected" }; } diff --git a/acqui/lateorders.pl b/acqui/lateorders.pl index 2b2ed17b0c..d37206448f 100755 --- a/acqui/lateorders.pl +++ b/acqui/lateorders.pl @@ -115,8 +115,8 @@ if ($op and $op eq "send_alert"){ $template->param(error_claim => $@); } elsif ( ref $err and exists $err->{error} and $err->{error} eq "no_email" ) { $template->{VARS}->{'error_claim'} = "no_email"; - } elsif ( ref $err and exists $err->{error} and $err->{error} eq "no_order_seleted"){ - $template->{VARS}->{'error_claim'} = "no_order_seleted"; + } elsif ( ref $err and exists $err->{error} and $err->{error} eq "no_order_selected"){ + $template->{VARS}->{'error_claim'} = "no_order_selected"; } else { $template->{VARS}->{'info_claim'} = 1; } diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt index eb3034e463..2363765509 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt @@ -86,7 +86,7 @@ $(document).ready(function() { [% IF error_claim %] [% IF ( error_claim == "no_email" ) %]
This vendor has no email
- [% ELSIF ( error_claim == "no_order_seleted" ) %] + [% ELSIF ( error_claim == "no_order_selected" ) %]
No order selected
[% ELSE %]
[% error_claim %]
-- 2.39.5