From 7f4adb7f97ae51bb6799a59178f9108256a5d247 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 12 Feb 2018 03:23:57 +0100 Subject: [PATCH] Update card.php --- htdocs/product/card.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;