// 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:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user