mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-07 16:41:48 +01:00
Fix compatibility with multicompany
This commit is contained in:
@@ -42,7 +42,7 @@ $action=GETPOST('action','alpha');
|
||||
// Security check
|
||||
$socid=0;
|
||||
if ($user->societe_id) $socid=$user->societe_id;
|
||||
$result=restrictedArea($user,'expensereport',$id,'');
|
||||
$result=restrictedArea($user,'expensereport',$id,'expensereport');
|
||||
|
||||
|
||||
$object = new ExpenseReport($db);
|
||||
|
||||
Reference in New Issue
Block a user