Fix: [ bug #1403 ] suppression d'une fiche produit impossible
This commit is contained in:
parent
45161172e8
commit
1557d8973f
@ -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();
|
if (! $deleteok) accessforbidden();
|
||||||
//print "Delete access is ok";
|
//print "Delete access is ok";
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user