Update peruser.php
This commit is contained in:
parent
601cc865fb
commit
a5bb833a0a
@ -466,13 +466,11 @@ if (empty($reshook)) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
$newparam = '';
|
||||||
$newcardbutton = '';
|
$newcardbutton = '';
|
||||||
if ($user->rights->agenda->myactions->create || $user->rights->agenda->allactions->create) {
|
if ($user->rights->agenda->myactions->create || $user->rights->agenda->allactions->create) {
|
||||||
$tmpforcreatebutton = dol_getdate(dol_now(), true);
|
$tmpforcreatebutton = dol_getdate(dol_now(), true);
|
||||||
|
|
||||||
if (empty($newparam)) {
|
|
||||||
$newparam = '';
|
|
||||||
}
|
|
||||||
$newparam .= '&month='.urlencode(str_pad($month, 2, "0", STR_PAD_LEFT)).'&year='.urlencode($tmpforcreatebutton['year']);
|
$newparam .= '&month='.urlencode(str_pad($month, 2, "0", STR_PAD_LEFT)).'&year='.urlencode($tmpforcreatebutton['year']);
|
||||||
if ($begin_h !== '') {
|
if ($begin_h !== '') {
|
||||||
$newparam .= '&begin_h='.urlencode($begin_h);
|
$newparam .= '&begin_h='.urlencode($begin_h);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user