From 88b0408e420d3f66a9504039312f8fdc1246a695 Mon Sep 17 00:00:00 2001 From: stickler-ci Date: Wed, 18 Aug 2021 13:57:19 +0000 Subject: [PATCH] Fixing style errors. --- htdocs/comm/action/index.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/htdocs/comm/action/index.php b/htdocs/comm/action/index.php index 8f23d472dbb..2610f8a51c8 100644 --- a/htdocs/comm/action/index.php +++ b/htdocs/comm/action/index.php @@ -528,10 +528,9 @@ $newcardbutton = ''; if ($user->rights->agenda->myactions->create || $user->rights->agenda->allactions->create) { $tmpforcreatebutton = dol_getdate(dol_now(), true); - if(isset($newparam)) { + if (isset($newparam)) { $newparam .= '&month='.str_pad($month, 2, "0", STR_PAD_LEFT).'&year='.$tmpforcreatebutton['year']; - } - else { + } else { $newparam = 'month='.str_pad($month, 2, "0", STR_PAD_LEFT).'&year='.$tmpforcreatebutton['year']; }