[-] BO : #PSFV-855 : Fix bug in BlockCMS AND set submit_action to NULL
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14633 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -214,7 +214,7 @@ class AddressControllerCore extends FrontController
|
||||
if ($result = $address->save())
|
||||
{
|
||||
// Update id address of the current cart if necessary
|
||||
if ($address_old->isUsed())
|
||||
if (isset($address_old) && $address_old->isUsed())
|
||||
{
|
||||
if ($this->context->cart->id_address_invoice == $address_old->id)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user