Update document.php

This commit is contained in:
bomuux 2023-03-08 10:58:05 +01:00 committed by GitHub
parent 147d254b4a
commit 3c6c392060
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;
}