Escape client name in history sidebar
This commit is contained in:
parent
9382839a7f
commit
2f2883d619
1 changed files with 1 additions and 1 deletions
|
|
@ -162,7 +162,7 @@ class HistoryUtils
|
|||
$icon = '<i class="fa fa-users" style="width:32px"></i>';
|
||||
if ($item->client_id) {
|
||||
$link = url('/clients/' . $item->client_id);
|
||||
$name = $item->client_name;
|
||||
$name = e($item->client_name);
|
||||
|
||||
$buttonLink = url('/invoices/create/' . $item->client_id);
|
||||
$button = '<a type="button" class="btn btn-primary btn-sm pull-right" href="' . $buttonLink . '">
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue