From 491ad084ba5294b68bc0826d8dfd71409a209188 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 Signed-off-by: Katrin Fischer (cherry picked from commit dd4822e400449921ff0c602bd3bd9c57ec95287c) Signed-off-by: Lucas Gass --- .../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 dec382dc8b..62d646898a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/stockrotation.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/stockrotation.tt @@ -407,10 +407,10 @@ [% END %] [% END %]

-

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