FIX fatal error when adding message to a ticket

This commit is contained in:
kevin 2021-06-15 12:04:24 +02:00
parent d154ec2344
commit 9ff0efbcc2

View File

@ -1317,7 +1317,7 @@ elseif (empty($action) || $action == 'view' || $action == 'addlink' || $action =
// Substitution array // Substitution array
$morehtmlright = ''; $morehtmlright = '';
$help = ""; $help = "";
$substitutionarray = getCommonSubstitutionArray($newlang, 0, $arrayoffamiliestoexclude, $object); $substitutionarray = getCommonSubstitutionArray($outputlangs, 0, $arrayoffamiliestoexclude, $object);
if ($object->fk_soc > 0) { if ($object->fk_soc > 0) {
$substitutionarray['__THIRDPARTY_NAME__'] = $object->thirdparty->name; $substitutionarray['__THIRDPARTY_NAME__'] = $object->thirdparty->name;
} }