Skip to content

Commit

Permalink
fix: Import format_subdomain (#11288)
Browse files Browse the repository at this point in the history
This pull request includes updates to the
`cgi/product_jqm_multilingual.pl` file, including a copyright year
update and an additional module import.

General updates:

*
[`cgi/product_jqm_multilingual.pl`](diffhunk://#diff-92f19641303749fe28f85e1fac66e3beb133831802fa003c74c4abec2c290b7dL6-R6):
Updated the copyright year from 2023 to 2025.

Code enhancements:

*
[`cgi/product_jqm_multilingual.pl`](diffhunk://#diff-92f19641303749fe28f85e1fac66e3beb133831802fa003c74c4abec2c290b7dR46):
Added `format_subdomain` from `ProductOpener::URL` to the list of
imported modules.

- Fixes #11287
  • Loading branch information
hangy authored Jan 27, 2025
1 parent 7f913b9 commit 930dc47
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cgi/product_jqm_multilingual.pl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# This file is part of Product Opener.
#
# Product Opener
# Copyright (C) 2011-2023 Association Open Food Facts
# Copyright (C) 2011-2025 Association Open Food Facts
# Contact: contact@openfoodfacts.org
# Address: 21 rue des Iles, 94100 Saint-Maur des Fossés, France
#
Expand Down Expand Up @@ -43,6 +43,7 @@ =head1 DESCRIPTION
use ProductOpener::Display qw/:all/;
use ProductOpener::HTTP qw/write_cors_headers/;
use ProductOpener::Tags qw/%language_fields %tags_fields add_tags_to_field compute_field_tags/;
use ProductOpener::URL qw/format_subdomain/;
use ProductOpener::Users qw/$Org_id $Owner_id $User_id %User/;
use ProductOpener::Images qw/:all/;
use ProductOpener::Lang qw/$lc %lang_lc/;
Expand Down

0 comments on commit 930dc47

Please sign in to comment.