mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-08 09:01:40 +01:00
Qual: Nettoyage de code redondant. L'appel a getright est inutile car deja dans le main.
This commit is contained in:
@@ -31,7 +31,6 @@ require_once(DOL_DOCUMENT_ROOT.'/lib/order.lib.php');
|
||||
|
||||
$socid=isset($_GET["socid"])?$_GET["socid"]:isset($_POST["socid"])?$_POST["socid"]:"";
|
||||
|
||||
$user->getrights('commande');
|
||||
if (!$user->rights->commande->lire)
|
||||
accessforbidden();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user