Skip to content

Commit

Permalink
fix: bug introduced by previous refactor (#7214)
Browse files Browse the repository at this point in the history
fix: bug introduced by previous refactor

in #7201
  • Loading branch information
alexgarel authored Aug 17, 2022
1 parent 74d9805 commit 476bad1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ProductOpener/Tags.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3547,9 +3547,9 @@ otherwise, the tag in its primary language
=cut

sub display_taxonomy_tag_name($tagtype)
sub display_taxonomy_tag_name($target_lc, $tagtype, $canon_tagid)
{
my $display_value = display_taxonomy_tag($_[0], $_[1], $_[2]);
my $display_value = display_taxonomy_tag($target_lc, $tagtype, $canon_tagid);
# remove eventual leading language code
$display_value =~ s/^\w\w://;
return $display_value;
Expand Down

0 comments on commit 476bad1

Please sign in to comment.