From 182f5d873f06e742b42cd535b75c942e4bc2db45 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 Content-Type: text/plain; charset=utf-8 No test plan (fixing comment). Signed-off-by: Marcel de Rooy --- 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.30.2