#Search for title in links
if (my $search_for_title = C4::Context->preference('OPACSearchForTitleIn')){
- $search_for_title =~ s/AUTHOR/$dat->{author}/g;
- $search_for_title =~ s/TITLE/$dat->{title}/g;
- $search_for_title =~ s/ISBN/$isbn/g;
+ $search_for_title =~ s/{AUTHOR}/$dat->{author}/g;
+ $search_for_title =~ s/{TITLE}/$dat->{title}/g;
+ $search_for_title =~ s/{ISBN}/$isbn/g;
$template->param('OPACSearchForTitleIn' => $search_for_title);
}