From b8b21c6d11cc2065a475b36bf1214fd03d7ebe05 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 (cherry picked from commit 5797079fc5e5b1e9a4d883f0ceb5a344b8cdbd36) Signed-off-by: Fridolin Somers --- Koha/Item.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Koha/Item.pm b/Koha/Item.pm index 6e67fcf3c2..c0dd6d2127 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