Fixing style errors.
This commit is contained in:
parent
ab95c5f463
commit
88b0408e42
@ -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'];
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user