mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Bugfix
This commit is contained in:
parent
46d2e704a0
commit
47fb376be6
|
|
@ -192,7 +192,7 @@ if ($_GET["facid"] > 0)
|
|||
if ( $fac->fetch($_GET["facid"], $user->societe_id) > 0)
|
||||
{
|
||||
$soc = new Societe($db, $fac->socidp);
|
||||
$soc->fetch($fac->socidp);
|
||||
$soc->fetch($fac->socidp, $user);
|
||||
|
||||
if (!$soc->perm_read)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user