fix add new client
This commit is contained in:
parent
60c61a86f9
commit
8f8553996e
1 changed files with 2 additions and 1 deletions
|
@ -232,7 +232,8 @@ if (!$perm->have_perm_area_action($area)) {
|
|||
$tpl->set('d', 'CATNAME', i18n("Client name"));
|
||||
$tpl->set('d', 'BGCOLOR', $cfg["color"]["table_dark"]);
|
||||
$tpl->set('d', "BORDERCOLOR", $cfg["color"]["table_border"]);
|
||||
$tpl->set('d', 'CATFIELD', formGenerateField("text", "clientname", clHtmlSpecialChars($db->f("name")), 50, 255));
|
||||
$clientName = is_null($db->f("name"))?'':clHtmlSpecialChars($db->f("name"));
|
||||
$tpl->set('d', 'CATFIELD', formGenerateField("text", "clientname", $clientName, 50, 255));
|
||||
$tpl->set('d', 'BRDRT', 0);
|
||||
$tpl->set('d', 'BRDRB', 1);
|
||||
$tpl->set('d', 'FONT', 'text_medium');
|
||||
|
|
Loading…
Reference in a new issue