From 48c2364f67e9e60fcf6eed2fce6a800a868c5616 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 31 Jan 2024 10:23:45 +0100 Subject: [PATCH] Bug 34478: Rename action with op - opac-issue-note Signed-off-by: Jonathan Druart --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-issue-note.tt | 2 +- opac/opac-issue-note.pl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-issue-note.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-issue-note.tt index 4c2526f0a2..bbc73e9a72 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-issue-note.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-issue-note.tt @@ -50,7 +50,7 @@ - +
Cancel diff --git a/opac/opac-issue-note.pl b/opac/opac-issue-note.pl index 681674f600..797adec9b6 100755 --- a/opac/opac-issue-note.pl +++ b/opac/opac-issue-note.pl @@ -66,8 +66,8 @@ $template->param( itemnumber => $issue->itemnumber, ); -my $action = $query->param('action') || ""; -if ( $action eq 'issuenote' && C4::Context->preference('AllowCheckoutNotes') && $issue ) { +my $op = $query->param('op') || ""; +if ( $op eq 'cud-issuenote' && C4::Context->preference('AllowCheckoutNotes') && $issue ) { my $note = $query->param('note'); my $scrubber = C4::Scrubber->new(); my $clean_note = $scrubber->scrub($note); -- 2.39.5