Using deprecated $tmpinvoice->fk_soc
Use of deprecated $tmpinvoice->fk_soc instead of using $tmpinvoice->socid
This commit is contained in:
parent
21e3a5d5ec
commit
f4f8b67d10
@ -5209,11 +5209,11 @@ class Facture extends CommonInvoice
|
|||||||
if (!empty($recipient->email)) {
|
if (!empty($recipient->email)) {
|
||||||
$to = $recipient->email;
|
$to = $recipient->email;
|
||||||
} else {
|
} else {
|
||||||
$errormesg = "Failed to send remind to thirdparty id=".$tmpinvoice->fk_soc.". No email defined for user.";
|
$errormesg = "Failed to send remind to thirdparty id=".$tmpinvoice->socid.". No email defined for user.";
|
||||||
$error++;
|
$error++;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$errormesg = "Failed to load recipient with thirdparty id=".$tmpinvoice->fk_soc;
|
$errormesg = "Failed to load recipient with thirdparty id=".$tmpinvoice->socid;
|
||||||
$error++;
|
$error++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user