fix php8 warnings

This commit is contained in:
Frédéric FRANCE 2021-03-15 20:34:22 +01:00 committed by GitHub
parent f0d3c19d51
commit bd021e9031
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,6 +46,7 @@ $msg_id = GETPOST('msg_id', 'int');
$action = GETPOST('action', 'aZ09');
$socid = 0;
if ($user->socid) {
$socid = $user->socid;
}