2
0
forked from Wavyzz/dolibarr

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

This commit is contained in:
Laurent Destailleur
2014-05-26 23:12:47 +02:00
parent 45161172e8
commit 1557d8973f

View File

@@ -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";
}