From 5797079fc5e5b1e9a4d883f0ceb5a344b8cdbd36 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Thu, 14 Sep 2023 09:31:00 +0000 Subject: [PATCH] Bug 34787: Fix typo gorup No test plan (fixing comment). Signed-off-by: Marcel de Rooy Signed-off-by: Tomas Cohen Arazi --- Koha/Item.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Koha/Item.pm b/Koha/Item.pm index 96b5fa8b0f..dba357e680 100644 --- a/Koha/Item.pm +++ b/Koha/Item.pm @@ -232,7 +232,7 @@ sub delete { my $result = $self->SUPER::delete; - # Delete the item gorup if it has no items left + # Delete the item group if it has no items left $item_group->delete if ( $item_group && $item_group->items->count == 0 ); my $indexer = Koha::SearchEngine::Indexer->new({ index => $Koha::SearchEngine::BIBLIOS_INDEX }); -- 2.39.5