Skip to content

Commit

Permalink
Fix for issue LibreBooking#44
Browse files Browse the repository at this point in the history
Another variable that was missing a javascript escape. Related to the pdf generating functionality
  • Loading branch information
effgarces committed May 12, 2021
1 parent eb189f1 commit f2a9df4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tpl/Reservation/pdf.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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' },
Expand Down

0 comments on commit f2a9df4

Please sign in to comment.