getFormData(true)) { $honeypot=$data['honeypot_captcha']; } else { $data = $this->getRequest()->getPost(); $honeypot=$data['name']; } if ($honeypot) { $session = Mage::getSingleton('core/session'); $session->setFormData($data); $session->addError($this->__('Unable to post the review. Please, fill all fields')); if ($redirectUrl = Mage::getSingleton('review/session')->getRedirectUrl(true)) { $this->_redirectUrl($redirectUrl); return; } $this->_redirectReferer(); return; } $request = Mage::app()->getRequest(); $request->initForward() ->setControllerName('product') ->setModuleName('review') ->setActionName('post') ->setDispatched(false); return false; } }