From c69b4fe64ad1edef4eacae40053c12c3db7fb97a Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Sat, 12 Oct 2024 14:28:57 +0000 Subject: [PATCH] Bug 38162: Pass the rota_id correctly when deleting To test: 1. Enable StockRotation 2. Got to Cataloging -> Stock rotation 3. Create a new Rota 4. Try to delete it 5. See the error "Can't call method "delete" on an undefined value at /kohadevbox/koha/tools/stockrotation.pl line 231" 6. APPLY PATCH 7. Try again, the rota should be deleted properly. Signed-off-by: Laura ONeil Signed-off-by: Alyssa Signed-off-by: Emily Lamancusa --- .../intranet-tmpl/prog/en/modules/tools/stockrotation.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/stockrotation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/stockrotation.tt index ddd072a55c..de37867206 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/stockrotation.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/stockrotation.tt @@ -406,10 +406,10 @@ [% END %] [% END %]

-

+ [% INCLUDE 'csrf-token.inc' %] - +
No -- 2.34.1