diff --git a/htdocs/product/card.php b/htdocs/product/card.php index 93f45317661..f65898bda68 100644 --- a/htdocs/product/card.php +++ b/htdocs/product/card.php @@ -2150,7 +2150,7 @@ if ($action != 'create' && $action != 'edit' && $action != 'delete') $filedir = $conf->produit->dir_output . '/' . $objectref; $urlsource=$_SERVER["PHP_SELF"]."?id=".$object->id; $genallowed=$usercanread; - $delallowed=$usercandelete; + $delallowed=$usercancreate; $var=true;