[#29371] Fixed : Php wanring on separate type extra field update (#30910)

Co-authored-by: TREBUCHET <ravi@code42.fr>
This commit is contained in:
CODE42 FR 2024-09-10 16:38:33 +02:00 committed by Laurent Destailleur
parent a2d5a1a057
commit d76f689bc2

View file

@ -643,6 +643,8 @@ class ExtraFields
{
global $action, $hookmanager;
$result = 0;
if ($elementtype == 'thirdparty') {
$elementtype = 'societe';
}