Skip to content

Commit

Permalink
Update lib/ProductOpener/Import.pm
Browse files Browse the repository at this point in the history
Co-authored-by: Alex Garel <alex@openfoodfacts.org>
  • Loading branch information
stephanegigandet and alexgarel authored Jan 22, 2025
1 parent 4d4dc45 commit 5f85279
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/ProductOpener/Import.pm
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,7 @@ sub upload_images_for_product($args_ref, $images_ref, $product_ref, $imported_pr
$log->debug("uploading image for product", {imagefield => $imagefield, code => $code})
if $log->is_debug();

# compute imgid for new image
my $current_max_imgid = -1;

if (defined $product_ref->{images}) {
Expand Down

0 comments on commit 5f85279

Please sign in to comment.