Bugfix
This commit is contained in:
parent
f6ffc89ee2
commit
27f5cc453b
@ -168,7 +168,7 @@ if ($cancel == $langs->trans("Cancel"))
|
|||||||
if ($_GET["id"])
|
if ($_GET["id"])
|
||||||
{
|
{
|
||||||
$soc = new Societe($db);
|
$soc = new Societe($db);
|
||||||
$result = $soc->fetch($_GET["id"]);
|
$result = $soc->fetch($_GET["id"], $user);
|
||||||
|
|
||||||
if (!$soc->perm_read)
|
if (!$soc->perm_read)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user