mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-09-20 00:11:35 +02: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>';
|
||||
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…
Reference in New Issue
Block a user