fix: replace values of __YEAR__, __MONTH__ and __DAY__ in member docs
This commit is contained in:
parent
b90a5f2b76
commit
f08c91fcc6
@ -267,9 +267,9 @@ class pdf_standard extends CommonStickerGenerator
|
||||
'__EMAIL__'=>$object->email,
|
||||
'__BIRTH__'=>dol_print_date($object->birth, 'day'),
|
||||
'__TYPE__'=>$object->type,
|
||||
'__YEAR__'=>$year,
|
||||
'__MONTH__'=>$month,
|
||||
'__DAY__'=>$day,
|
||||
'__YEAR__'=>date('Y', dol_now()),
|
||||
'__MONTH__'=>date('m', dol_now()),
|
||||
'__DAY__'=>date('d', dol_now()),
|
||||
'__DOL_MAIN_URL_ROOT__'=>DOL_MAIN_URL_ROOT,
|
||||
'__SERVER__'=>"http://".$_SERVER["SERVER_NAME"]."/"
|
||||
);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user