diff --git a/htdocs/product/card.php b/htdocs/product/card.php index 93f4531766184..f65898bda6812 100644 --- a/htdocs/product/card.php +++ b/htdocs/product/card.php @@ -2150,7 +2150,7 @@ $filedir = $conf->produit->dir_output . '/' . $objectref; $urlsource=$_SERVER["PHP_SELF"]."?id=".$object->id; $genallowed=$usercanread; - $delallowed=$usercandelete; + $delallowed=$usercancreate; $var=true;