// Retro-compatibility fix of front controllers

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13847 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2012-03-05 15:32:06 +00:00
parent d1f59c3373
commit 2eed902a74
31 changed files with 62 additions and 31 deletions
+2 -1
View File
@@ -98,6 +98,8 @@ class IdentityControllerCore extends FrontController
*/
public function initContent()
{
parent::initContent();
if ($this->customer->birthday)
$birthday = explode('-', $this->customer->birthday);
else
@@ -118,7 +120,6 @@ class IdentityControllerCore extends FrontController
$this->context->smarty->assign('newsletter', (int)Module::getInstanceByName('blocknewsletter')->active);
$this->setTemplate(_PS_THEME_DIR_.'identity.tpl');
parent::initContent();
}
public function setMedia()