Update document.php

This commit is contained in:
bomuux 2023-03-08 10:58:05 +01:00 committed by Laurent Destailleur
parent d92f6bb4fb
commit a655faf08d

View File

@ -77,6 +77,7 @@ $object->fetch($id, $ref);
$permissiontoadd = $user->rights->propal->creer;
// Security check
$socid = '';
if (!empty($user->socid)) {
$socid = $user->socid;
}