interface/web/client/client_edit.php
@@ -101,7 +101,7 @@ global $app; $sql = "SELECT template_id,template_name FROM client_template WHERE template_type = 'a'"; $sql = "SELECT template_id,template_name FROM client_template WHERE template_type = 'a' ORDER BY template_name ASC"; $tpls = $app->db->queryAllRecords($sql); $option = ''; $tpl = array(); @@ -117,8 +117,8 @@ $text = ''; foreach($tplAdd as $item){ if (trim($item) != ''){ if ($text != '') $text .= '<br />'; $text .= $tpl[$item]; if ($text != '') $text .= ''; $text .= '<li>' . $tpl[$item]. '</li>'; } }