From fd457cdf991e693b956ef9fe346fa1a2b74a7af3 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 --- 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 7f94da4d0ea..eedd000318a 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 2c2fcfcdd88..fb10be50290 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.45.0