2
0
forked from Wavyzz/dolibarr

FIX Missing translation in predefined email to membership renewal

This commit is contained in:
Laurent Destailleur
2018-09-12 12:55:10 +02:00
parent 7bea9f5ffb
commit 53da80a79f
2 changed files with 2 additions and 1 deletions

View File

@@ -6064,7 +6064,7 @@ function getCommonSubstitutionArray($outputlangs, $onlykey=0, $exclude=null, $ob
{
// Set the online payment url link into __ONLINE_PAYMENT_URL__ key
require_once DOL_DOCUMENT_ROOT.'/core/lib/payments.lib.php';
$outputlangs->load('paypal');
$outputlangs->loadLangs(array('paypal','other'));
$typeforonlinepayment='free';
if (is_object($object) && $object->element == 'commande') $typeforonlinepayment='order';
if (is_object($object) && $object->element == 'facture') $typeforonlinepayment='invoice';