Update note.php

This commit is contained in:
bomuux 2023-03-08 10:47:21 +01:00 committed by Laurent Destailleur
parent 12e9e3c3eb
commit efcaa0780a

View File

@ -51,7 +51,6 @@ if ($id > 0 || !empty($ref)) {
// Security check
if ($user->socid > 0) {
$socid = $user->socid;
$object->id = $user->socid;
}
// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context