mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
qual: phpstan for htdocs/datapolicy/class/actions_datapolicy.class.php
htdocs/datapolicy/class/actions_datapolicy.class.php 118 Property CommonObject::$state_id (int) does not accept string. htdocs/datapolicy/class/actions_datapolicy.class.php 120 Property CommonObject::$country_id (int) does not accept string.
This commit is contained in:
parent
ed8b939d8f
commit
6459ef53f0
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user