fix style

This commit is contained in:
Lucas Marcouiller 2022-05-21 18:47:01 +02:00
parent 51041bbea1
commit b4a7657fbe
2 changed files with 3 additions and 3 deletions

View File

@ -2266,7 +2266,7 @@ if ($action == 'create') {
*/
if (empty($origin)) {
if (!empty($societe->id ) && $societe->id > 0) {
if (!empty($societe->id) && $societe->id > 0) {
// Credit note
if (empty($conf->global->INVOICE_DISABLE_CREDIT_NOTE)) {
// Show link for credit note

View File

@ -55,8 +55,8 @@ $dol_openinpopup = GETPOST('dol_openinpopup', 'aZ09');
$status = GETPOST('status', 'int');
$opp_status = GETPOST('opp_status', 'int');
$opp_percent = price2num(GETPOST('opp_percent', 'alpha'));
$objcanvas = GETPOST("objcanvas","alpha");
$comefromclone = GETPOST("comefromclone","alpha");
$objcanvas = GETPOST("objcanvas", "alpha");
$comefromclone = GETPOST("comefromclone", "alpha");
if ($id == '' && $ref == '' && ($action != "create" && $action != "add" && $action != "update" && !GETPOST("cancel"))) {
accessforbidden();