mirror of
https://github.com/itflow-org/itflow
synced 2026-07-23 00:40:45 +00:00
Fix Truncated Client name in side nav needs to be truncated before escaped
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<p class="h5">
|
||||
<i class="nav-icon fas fa-arrow-left ml-3 mr-1"></i>
|
||||
<span class="brand-text">
|
||||
Back | <strong><?php echo truncate($client_name, 7); ?></strong>
|
||||
Back | <strong><?= $client_name_truncated ?></strong>
|
||||
</span>
|
||||
</p>
|
||||
</a>
|
||||
|
||||
@@ -33,6 +33,7 @@ if (isset($_GET['client_id'])) {
|
||||
|
||||
$row = mysqli_fetch_assoc($sql);
|
||||
$client_name = escapeHtml($row['client_name']);
|
||||
$client_name_truncated = escapeHtml(truncate($row['client_name'], 7));
|
||||
$client_is_lead = intval($row['client_lead']);
|
||||
$client_type = escapeHtml($row['client_type']);
|
||||
$client_website = escapeHtml($row['client_website']);
|
||||
|
||||
Reference in New Issue
Block a user