From 24d6453caba6742877b7407ec140e023f538b2fd Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Thu, 12 Sep 2019 10:30:27 -0400 Subject: [PATCH] Bugfix for account name Change the account javascript which is setting the account name to deal with the names that may have apostrophes in it. --- views/admin/billing/invoices.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/admin/billing/invoices.html b/views/admin/billing/invoices.html index 5a20fe5..b8f1443 100644 --- a/views/admin/billing/invoices.html +++ b/views/admin/billing/invoices.html @@ -368,7 +368,7 @@ {$selected = $m.ref_name|unescape:'html'|replace:'"':''} {/if} {/foreach} - $('#account_name').autocomplete().val('{$selected}'); + $('#account_name').autocomplete().val("{$selected|unescape:'html'|replace:'"':''}"); {/if} // Flash certain elements for a short time after display -- 2.17.1