Fix phpcs

This commit is contained in:
Laurent Destailleur 2019-08-16 17:32:58 +02:00
parent 84f27bef23
commit 48125fd957
2 changed files with 2 additions and 2 deletions

View File

@ -283,7 +283,7 @@ if ($action == 'edit') // Edit
//Invert sender and recipient
print '<tr class="oddeven"><td>'.$langs->trans("SwapSenderAndRecipientOnPDF").'</td><td>';
print $form->selectyesno('MAIN_INVERT_SENDER_RECIPIENT',(! empty($conf->global->MAIN_INVERT_SENDER_RECIPIENT))?$conf->global->MAIN_INVERT_SENDER_RECIPIENT:0,1);
print $form->selectyesno('MAIN_INVERT_SENDER_RECIPIENT', (! empty($conf->global->MAIN_INVERT_SENDER_RECIPIENT))?$conf->global->MAIN_INVERT_SENDER_RECIPIENT:0, 1);
print '</td></tr>';
// Place customer adress to the ISO location

View File

@ -74,7 +74,7 @@ if ($id > 0 || ! empty($ref)) {
}
// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
$hookmanager->initHooks(array('warehousecard','globalcard'));
$hookmanager->initHooks(array('warehousecard', 'globalcard'));
/*
* Actions