From beeed628989983c0556feb84705e58e5db4f5d17 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Mon, 6 May 2024 09:12:36 +0000 Subject: [PATCH] Bug 36785: Typo unreconized and bilbio in tags code Test plan: Look at the patch. Signed-off-by: Marcel de Rooy Signed-off-by: Martin Renvoize Signed-off-by: Katrin Fischer (cherry picked from commit 4a18e25d3c0e24387845570b8a0d7a243c106dca) Signed-off-by: Fridolin Somers --- C4/Tags.pm | 6 +++--- opac/opac-tags.pl | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/C4/Tags.pm b/C4/Tags.pm index 7f94da4d0e..eedd000318 100644 --- a/C4/Tags.pm +++ b/C4/Tags.pm @@ -151,7 +151,7 @@ sub get_tag_rows { next; } unless (1 == scalar grep { $_ eq $key } @ok_fields) { - carp "get_tag_rows received unreconized argument key '$key'."; + carp "get_tag_rows received unrecognized argument key '$key'."; next; } if ($key eq 'limit') { @@ -189,7 +189,7 @@ sub get_tags { # i.e., from tags_index next; } unless (1 == scalar grep { $_ eq $key } @ok_fields) { - carp "get_tags received unreconized argument key '$key'."; + carp "get_tags received unrecognized argument key '$key'."; next; } if ($key eq 'limit') { @@ -255,7 +255,7 @@ sub get_approval_rows { # i.e., from tags_approval next; } unless (1 == scalar grep { $_ eq $key } @ok_fields) { - carp "get_approval_rows received unreconized argument key '$key'."; + carp "get_approval_rows received unrecognized argument key '$key'."; next; } if ($key eq 'limit') { diff --git a/opac/opac-tags.pl b/opac/opac-tags.pl index 416992b070..1b38d2b39c 100755 --- a/opac/opac-tags.pl +++ b/opac/opac-tags.pl @@ -79,7 +79,7 @@ sub ajax_auth_cgi { # returns CGI object return $input; } -# The trick here is to support multiple tags added to multiple bilbios in one POST. +# The trick here is to support multiple tags added to multiple biblios in one POST. # The HTML might not use this, but it makes it more web-servicey from the start. # So the name of param has to have biblionumber built in. # For lack of anything more compelling, we just use "newtag[biblionumber]" -- 2.39.5