fix warnings 1

Removing all PHP8 warnings from error logs
This commit is contained in:
Gurvan Kervern 2021-08-16 18:05:29 +08:00
parent 340949e0a9
commit b0ea9fed0a

View File

@ -528,7 +528,7 @@ $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'];
$newparam = 'month='.str_pad($month, 2, "0", STR_PAD_LEFT).'&year='.$tmpforcreatebutton['year'];
//$param='month='.$monthshown.'&year='.$year;
$hourminsec = '100000';