Bug 17446: Typo seleted
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Fri, 14 Oct 2016 09:29:44 +0000 (11:29 +0200)
committerBrendan Gallagher <brendan@bywatersolutions.com>
Tue, 11 Oct 2016 16:54:10 +0000 (16:54 +0000)
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 <katrin.fischer@bsz-bw.de>
Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
C4/Letters.pm
acqui/lateorders.pl
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt

index 613300f..4d1731c 100644 (file)
@@ -474,7 +474,7 @@ sub SendAlerts {
             };
 
         if (!@$externalid){
-            carp "No Order seleted";
+            carp "No Order selected";
             return { error => "no_order_selected" };
         }
 
index 2b2ed17..d372064 100755 (executable)
@@ -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;
     }
index eb3034e..2363765 100644 (file)
@@ -86,7 +86,7 @@ $(document).ready(function() {
 [% IF error_claim %]
     [% IF ( error_claim == "no_email" ) %]
         <div class="error">This vendor has no email</div>
-    [% ELSIF ( error_claim == "no_order_seleted" ) %]
+    [% ELSIF ( error_claim == "no_order_selected" ) %]
         <div class="error">No order selected</div>
     [% ELSE %]
         <div class="error">[% error_claim %]</div>