From e037f2e5c7afb4448f319b28c21f52ecdee16b57 Mon Sep 17 00:00:00 2001 From: stickler-ci Date: Wed, 23 Sep 2020 07:11:59 +0000 Subject: [PATCH] Fixing style errors. --- htdocs/compta/facture/list.php | 2 +- htdocs/societe/list.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/compta/facture/list.php b/htdocs/compta/facture/list.php index 4a856539196..c144b388093 100644 --- a/htdocs/compta/facture/list.php +++ b/htdocs/compta/facture/list.php @@ -675,7 +675,7 @@ if ($resql) $massactionbutton = $form->selectMassAction('', $arrayofmassactions); // Show the new button only when this page is not opend from the Extended POS - if($contextpage != 'poslist') + if ($contextpage != 'poslist') { $url = DOL_URL_ROOT.'/compta/facture/card.php?action=create'; if (!empty($socid)) $url .= '&socid='.$socid; diff --git a/htdocs/societe/list.php b/htdocs/societe/list.php index 15853f13a66..ea0b3a55d8e 100644 --- a/htdocs/societe/list.php +++ b/htdocs/societe/list.php @@ -611,7 +611,7 @@ if (!empty($type)) // Show the new button only when this page is not opend from the Extended POS (pop-up window) // but allow it too, when a user has the rights to create a new customer -if($contextpage != 'poslist') +if ($contextpage != 'poslist') { $url = DOL_URL_ROOT.'/societe/card.php?action=create'.$typefilter; if (!empty($socid)) $url .= '&socid='.$socid;