Update mouvement.php

Avoid regression on restrictArea
This commit is contained in:
Laurent Destailleur 2019-02-14 15:22:22 +01:00 committed by GitHub
parent d2ee00d4bb
commit 173d28cf5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,7 +55,8 @@ $cancel=GETPOST('cancel','alpha');
$contextpage=GETPOST('contextpage','aZ')?GETPOST('contextpage','aZ'):'movementlist';
// Security check
$result=restrictedArea($user,'stock', $id, 'entrepot&stock');
//$result=restrictedArea($user,'stock', $id, 'entrepot&stock');
$result=restrictedArea($user,'stock');
$idproduct = GETPOST('idproduct','int');
$year = GETPOST("year");