Fixing style errors.

This commit is contained in:
stickler-ci 2021-08-18 13:57:19 +00:00
parent ab95c5f463
commit 88b0408e42

View File

@ -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'];
}