Bug 34787: Fix typo gorup

No test plan (fixing comment).

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Marcel de Rooy 2023-09-14 09:31:00 +00:00 committed by Tomas Cohen Arazi
parent b5540d8c94
commit 5797079fc5
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

@ -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 });