diff --git a/htdocs/product/card.php b/htdocs/product/card.php index d386132813e..f06009ecfa7 100644 --- a/htdocs/product/card.php +++ b/htdocs/product/card.php @@ -1954,7 +1954,7 @@ if ($action == '' || $action == 'view') $var=true; - $somethingshown=$formfile->show_documents($modulepart,$object->id,$filedir,$urlsource,$genallowed,$delallowed,'',0,0,0,28,0,'',0,'',$object->default_lang); + $somethingshown=$formfile->show_documents($modulepart,$object->ref,$filedir,$urlsource,$genallowed,$delallowed,'',0,0,0,28,0,'',0,'',$object->default_lang); print '