Skip to content

Commit eb2fc1f

Browse files
committed
added teh appropriate template tag to the multi_mail call
1 parent 9967115 commit eb2fc1f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/api.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ function api_buy_license($sid, $ip, $service_type, $coupon = '', $use_prepay = n
200200
5000 => 5008,
201201
5001 => 5014,
202202
5002 => 5009,
203-
10683 => 10682
203+
10683 => 10682
204204
];
205205
$GLOBALS['tf']->session->sessionid = $sid;
206206
if ($GLOBALS['tf']->session->verify()) {
@@ -379,7 +379,7 @@ function_requirements('get_paypal_link');
379379
$smarty->assign('paypal_link', get_paypal_link('SERVICElicenses' . $serviceid, $service_cost, $invoice->get_description()));
380380
$msg = $smarty->fetch('email/client/license_paytoactivate.tpl');
381381
$subject = 'New Pending License for ' . $ip . ' at cPanelDirect.net';
382-
multi_mail($data['account_lid'], $subject, $msg);
382+
multi_mail($data['account_lid'], $subject, $msg, 'client/license_paytoactivate.tpl');
383383
$return['status'] = 'ok';
384384
$return['status_text'] .= "Order Completed Successfully.\n";
385385
$return['invoice'] = $iid;

0 commit comments

Comments
 (0)