mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Escape client name in history sidebar
This commit is contained in:
parent
9382839a7f
commit
2f2883d619
@ -162,7 +162,7 @@ class HistoryUtils
|
|||||||
$icon = '<i class="fa fa-users" style="width:32px"></i>';
|
$icon = '<i class="fa fa-users" style="width:32px"></i>';
|
||||||
if ($item->client_id) {
|
if ($item->client_id) {
|
||||||
$link = url('/clients/' . $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);
|
$buttonLink = url('/invoices/create/' . $item->client_id);
|
||||||
$button = '<a type="button" class="btn btn-primary btn-sm pull-right" href="' . $buttonLink . '">
|
$button = '<a type="button" class="btn btn-primary btn-sm pull-right" href="' . $buttonLink . '">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user