Fix bug on opac-detail.pl with switch statement