From b0d5944ed7270c3edd0eae2661673d2966f60c7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emanuel=20Garc=C3=AAs?= Date: Wed, 12 May 2021 21:36:08 +0100 Subject: [PATCH] Fix for issue #44 Another variable that was missing a javascript escape. Related to the pdf generating functionality --- tpl/Reservation/pdf.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tpl/Reservation/pdf.tpl b/tpl/Reservation/pdf.tpl index 6275cbe52..351252db8 100644 --- a/tpl/Reservation/pdf.tpl +++ b/tpl/Reservation/pdf.tpl @@ -74,7 +74,7 @@ $('.btnPDF').click(function (e) { styles: { lineWidth: 0.02}, theme: 'plain', body: [ - { user: '{$ReservationUserName}'}, + { user: '{$ReservationUserName|escape:'javascript'}'}, ], columns: [ { header: '{translate key='User'}', dataKey: 'user' },