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:
parent
f981da7494
commit
e7b3f8e362
|
|
@ -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,
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue