Merge pull request #27821 from thibdrev/patch-2

qual: phpstan for htdocs/datapolicy/class/actions_datapolicy.class.php
This commit is contained in:
Laurent Destailleur 2024-01-28 12:50:17 +01:00 committed by GitHub
commit 3564fa2e50
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -115,9 +115,9 @@ class ActionsDatapolicy extends CommonHookActions
$object->fax = '';
$object->state = '';
$object->country = '';
$object->state_id = '';
$object->state_id = 0;
$object->socialnetworks = '';
$object->country_id = '';
$object->country_id = 0;
$object->note_private = dol_concatdesc($object->note_private, $langs->trans('ANONYMISER_AT', dol_print_date(dol_now())));
if ($object->update($object->id, $user, 0)) {