Skip to content
Snippets Groups Projects
Commit 1557d897 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: [ bug #1403 ] suppression d'une fiche produit impossible

parent 45161172
No related branches found
No related tags found
No related merge requests found
......@@ -311,7 +311,9 @@ function restrictedArea($user, $features, $objectid=0, $dbtablename='', $feature
}
}
//print "Delete access is ko";
// If a or and at least one ok
if (preg_match('/\|/', $features) && $nbko < count($featuresarray)) $deleteok=1;
if (! $deleteok) accessforbidden();
//print "Delete access is ok";
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment