Fix phpcs
This commit is contained in:
parent
fab26b86c8
commit
71d064e8db
1 changed files with 2 additions and 3 deletions
|
|
@ -315,8 +315,7 @@ if (empty($reshook)) {
|
|||
$result = $object->set_date($user, $datep);
|
||||
if ($result < 0) {
|
||||
dol_print_error($db, $object->error);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
if (empty($conf->global->MAIN_DISABLE_PDF_AUTOUPDATE)) {
|
||||
$outputlangs = $langs;
|
||||
$newlang = '';
|
||||
|
|
@ -331,7 +330,7 @@ if (empty($reshook)) {
|
|||
if ($ret > 0) {
|
||||
$object->fetch_thirdparty();
|
||||
}
|
||||
|
||||
|
||||
$object->generateDocument($model, $outputlangs, $hidedetails, $hidedesc, $hideref);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue