FIX: deposit payment terms: unused variable
This commit is contained in:
parent
f6b9336a82
commit
087157890e
@ -711,7 +711,7 @@ if (empty($reshook)) {
|
||||
$ret = $deposit->fetch($deposit->id); // Reload to get new records
|
||||
$outputlangs = $langs;
|
||||
|
||||
if ($conf->global->MAIN_MULTILANGS && empty($newlang)) {
|
||||
if ($conf->global->MAIN_MULTILANGS) {
|
||||
$outputlangs = new Translate('', $conf);
|
||||
$outputlangs->setDefaultLang($deposit->thirdparty->default_lang);
|
||||
$outputlangs->load('products');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user