1
0
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:
Hillel Coren 2017-04-19 17:59:58 +03:00
parent 9382839a7f
commit 2f2883d619

View File

@ -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 . '">