public function _prepareLayout() { if ($this->_fixMessages()) { /* do nothing */ return $this; } else { return parent::_prepareLayout(); } }
public function _prepareLayout() { $this->addMessages(Mage::getSingleton('core/session')->getMessages(true)); parent::_prepareLayout(); }