From 63c527a4a873d06e4be763e116f615848025a858 Mon Sep 17 00:00:00 2001 From: lukvai <37104879+lukvai@users.noreply.github.com> Date: Fri, 18 Dec 2020 15:51:59 +0200 Subject: [PATCH] transialtion quotes fix (#193) Co-authored-by: lukas --- mollie.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mollie.php b/mollie.php index 3250d8cf9..18d874109 100644 --- a/mollie.php +++ b/mollie.php @@ -338,7 +338,7 @@ public function getContent() Media::addJsDef([ 'description_message' => $this->l('Description cannot be empty'), 'profile_id_message' => $this->l('Wrong profile ID'), - 'profile_id_message_empty' => $this->l('Profile ID cannot be empty'), + 'profile_id_message_empty' => addslashes($this->l('Profile ID cannot be empty')), 'payment_api' => Mollie\Config\Config::MOLLIE_PAYMENTS_API, 'ajaxUrl' => $this->context->link->getAdminLink('AdminMollieAjax'), ]);