Skip to content

Commit

Permalink
fix: howmuchsugar / combiendesucres (#10111)
Browse files Browse the repository at this point in the history
Co-authored-by: Off <[email protected]>
  • Loading branch information
stephanegigandet and Off authored Apr 9, 2024
1 parent e527aa5 commit 39e9a3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cgi/sugar_random.pl
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

# this script is used by howmuchsugar to redirect to a new product randomly

my $r = shift;
my $r = Apache2::RequestUtil->request();

# read site name in apache provided header
my $lang = $r->headers_in->{"X-Site-Lang"} // 'en';
Expand Down

0 comments on commit 39e9a3a

Please sign in to comment.