Bug 23050: Fix creation of biblio tab's id

(Too much javascript in my head...)

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Julian Maurice 2019-09-30 10:10:17 +02:00 committed by Martin Renvoize
parent f981da7494
commit e7b3f8e362
No known key found for this signature in database
GPG Key ID: 422B469130441A0F
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ if ( C4::Context->preference('UseKohaPlugins') &&
foreach my $tab_plugin (@tab_plugins) {
my @biblio_tabs = $tab_plugin->intranet_catalog_biblio_tab();
foreach my $tab (@biblio_tabs) {
$tab->{id} = 'tab-' + $tab->{title};
$tab->{id} = 'tab-' . $tab->{title};
$tab->{id} =~ s/[^0-9A-Za-z]+/-/g;
push @tabs, $tab,
}