From 172b6724375421cee9bdaa8a36fe6953cd51dcae Mon Sep 17 00:00:00 2001 From: stickler-ci Date: Thu, 19 Aug 2021 10:19:25 +0000 Subject: [PATCH] Fixing style errors. --- htdocs/comm/action/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/comm/action/index.php b/htdocs/comm/action/index.php index 4100cd6dd22..8c514c0989b 100644 --- a/htdocs/comm/action/index.php +++ b/htdocs/comm/action/index.php @@ -529,9 +529,9 @@ $viewmode .= ''; // To add a space before t $newcardbutton = ''; if ($user->rights->agenda->myactions->create || $user->rights->agenda->allactions->create) { $tmpforcreatebutton = dol_getdate(dol_now(), true); - + $newparam .= '&month='.str_pad($month, 2, "0", STR_PAD_LEFT).'&year='.$tmpforcreatebutton['year']; - + //$param='month='.$monthshown.'&year='.$year; $hourminsec = '100000'; $newcardbutton .= dolGetButtonTitle($langs->trans("AddAction"), '', 'fa fa-plus-circle', DOL_URL_ROOT.'/comm/action/card.php?action=create&datep='.sprintf("%04d%02d%02d", $tmpforcreatebutton['year'], $tmpforcreatebutton['mon'], $tmpforcreatebutton['mday']).$hourminsec.'&backtopage='.urlencode($_SERVER["PHP_SELF"].($newparam ? '?'.$newparam : '')));