Skip to content

Commit a3ce7da

Browse files
committed
Refs #3817 - Adds a CLIENTID token parsed only for the "Add Client" form from a Reseller
1 parent 9e1a303 commit a3ce7da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/web/client/client_edit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ function onShowEnd() {
206206
if($reseller['customer_no_template'] != '') {
207207
//* Set customer no default
208208
$customer_no = $app->functions->intval($reseller['customer_no_start']+$reseller['customer_no_counter']);
209-
$customer_no_string = str_replace('[CUSTOMER_NO]',$customer_no,$reseller['customer_no_template']);
209+
$customer_no_string = str_replace(array('[CUSTOMER_NO]','[CLIENTID]'),array($customer_no, $reseller['client_id']),$reseller['customer_no_template']);
210210
$app->tpl->setVar('customer_no',$customer_no_string);
211211
}
212212
}

0 commit comments

Comments
 (0)