Fix missing MAIN_DISABLE_PDF_AUTOUPDATE
This commit is contained in:
parent
ba03b17354
commit
aefdc09cdc
@ -188,6 +188,9 @@ if (empty($reshook))
|
||||
{
|
||||
setEventMessages($object->error,$object->errors,'errors');
|
||||
}else{
|
||||
// Define output language
|
||||
if (empty($conf->global->MAIN_DISABLE_PDF_AUTOUPDATE))
|
||||
{
|
||||
$outputlangs = $langs;
|
||||
$newlang = '';
|
||||
if ($conf->global->MAIN_MULTILANGS && empty($newlang) && GETPOST('lang_id')) $newlang = GETPOST('lang_id','alpha');
|
||||
@ -204,6 +207,7 @@ if (empty($reshook))
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
elseif ($action == 'confirm_delete' && $confirm == 'yes' && $user->rights->fournisseur->facture->supprimer)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user