X-Git-Url: https://dev.renevier.net/?p=syj.git;a=blobdiff_plain;f=application%2Fcontrollers%2Fhelpers%2FSyjPostData.php;h=b80fd2bacc25a7cc7f9e471f714331f9025242c3;hp=3f18222545f7e2e0cfdd710bf40310ea9b8fd52f;hb=c1aeb7538786d8c9f3b3337c0b71e21ef89d9c77;hpb=69cbaf628f5576754d4553c021315188e22d24af diff --git a/application/controllers/helpers/SyjPostData.php b/application/controllers/helpers/SyjPostData.php index 3f18222..b80fd2b 100644 --- a/application/controllers/helpers/SyjPostData.php +++ b/application/controllers/helpers/SyjPostData.php @@ -17,6 +17,11 @@ class Syj_Controller_Action_Helper_SyjPostData extends Zend_Controller_Action_He throw new Syj_Exception_Request(); } $data = $this->getRequest()->getPost(); + + if ($form instanceof Syj_Processor_Interface) { + $form->process($data); + } + if (!$form->isValid($data)) { throw new Syj_Exception_Request(); }