[-] FO : Invalid voucher name

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15087 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
fBrignoli
2012-05-09 08:41:26 +00:00
parent 6810a92164
commit 5776e365de
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -94,7 +94,7 @@ class ParentOrderControllerCore extends FrontController
{
if (!($code = trim(Tools::getValue('discount_name'))))
$this->errors[] = Tools::displayError('You must enter a voucher code');
elseif (!Validate::isDiscountName($code))
elseif (!Validate::isCleanHtml($code))
$this->errors[] = Tools::displayError('Voucher code invalid');
else
{