Fix phpcs

This commit is contained in:
Laurent Destailleur 2019-08-16 17:32:58 +02:00
parent 1e93d3d790
commit ee50c41e74
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

@ -56,7 +56,7 @@ $backtopage=GETPOST('backtopage', 'alpha');
$result=restrictedArea($user, 'stock');
// 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'));
$object = new Entrepot($db);