// Replaced array_uintersect by a custom function

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15150 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
dMetzger
2012-05-10 09:09:03 +00:00
parent e45c7f98a6
commit 8f6c9671f5
2 changed files with 34 additions and 21 deletions
+1 -1
View File
@@ -100,7 +100,7 @@ class ParentOrderControllerCore extends FrontController
{
if (($cartRule = new CartRule(CartRule::getIdByCode($code))) && Validate::isLoadedObject($cartRule))
{
if ($error = $cartRule->checkValidity($this->context))
if ($error = $cartRule->checkValidity($this->context, false, true))
$this->errors[] = $error;
else
{