Update note.php

This commit is contained in:
bomuux 2023-03-08 10:56:04 +01:00 committed by Laurent Destailleur
parent efcaa0780a
commit 60000b7d37

View File

@ -49,6 +49,7 @@ if ($id > 0 || !empty($ref)) {
}
// Security check
$socid = '';
if ($user->socid > 0) {
$socid = $user->socid;
}