Implemented PIN replacement
This commit is contained in:
parent
7c33e659b4
commit
87b79503c8
|
@ -376,6 +376,8 @@ class template {
|
||||||
|
|
||||||
$html = str_replace("__DATE__", userdate($date, '%B %d, %Y'), $html);
|
$html = str_replace("__DATE__", userdate($date, '%B %d, %Y'), $html);
|
||||||
|
|
||||||
|
$html = str_replace("__PIN__", $user->profile["pin"], $html);
|
||||||
|
|
||||||
$pdf->addPage($html);
|
$pdf->addPage($html);
|
||||||
$pdf->send();
|
$pdf->send();
|
||||||
die($pdf->getError());
|
die($pdf->getError());
|
||||||
|
|
Loading…
Reference in a new issue