[-] BO : #PSFV-855 : Fix bug in BlockCMS AND set submit_action to NULL

This commit is contained in:
lLefevre
2012-04-13 14:15:45 +00:00
parent 2f4de677e4
commit ca5684e517
4 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -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)
{