// small fix

This commit is contained in:
vAugagneur
2012-11-14 14:54:17 +00:00
parent 3166887d0e
commit abbbdae2b4
2 changed files with 2 additions and 2 deletions
-2
View File
@@ -44,8 +44,6 @@ class OrderOpcControllerCore extends ParentOrderController
$this->context->smarty->assign('is_multi_address_delivery', $this->context->cart->isMultiAddressDelivery() || ((int)Tools::getValue('multi-shipping') == 1));
$this->context->smarty->assign('open_multishipping_fancybox', (int)Tools::getValue('multi-shipping') == 1);
$this->isLogged = (bool)($this->context->customer->id && Customer::customerIdExistsStatic((int)$this->context->cookie->id_customer));
if ($this->context->cart->nbProducts())
{
if (Tools::isSubmit('ajax'))
@@ -46,6 +46,8 @@ class ParentOrderControllerCore extends FrontController
*/
public function init()
{
$this->isLogged = (bool)($this->context->customer->id && Customer::customerIdExistsStatic((int)$this->context->cookie->id_customer));
parent::init();
/* Disable some cache related bugs on the cart/order */