From 3da0049a79f2fbcb16b38b001c67001d7255ba60 Mon Sep 17 00:00:00 2001 From: Julian Maurice Date: Mon, 30 Sep 2019 10:10:17 +0200 Subject: [PATCH] Bug 23050: Fix creation of biblio tab's id (Too much javascript in my head...) Signed-off-by: Tomas Cohen Arazi --- catalogue/detail.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/catalogue/detail.pl b/catalogue/detail.pl index e86a115c4c..d176f1088e 100755 --- a/catalogue/detail.pl +++ b/catalogue/detail.pl @@ -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, } -- 2.24.0