X-Git-Url: https://dev.renevier.net/?a=blobdiff_plain;f=application%2Fcontrollers%2Fhelpers%2FSyjPostData.php;h=5105f846be01d9237ef988539a82eb0fa6a6d1ed;hb=00c2579ade64a20ba2d82e98d3eea5f864864cdb;hp=3f18222545f7e2e0cfdd710bf40310ea9b8fd52f;hpb=190fd621df4920c56a422c03663874cddaa67d64;p=syj.git diff --git a/application/controllers/helpers/SyjPostData.php b/application/controllers/helpers/SyjPostData.php index 3f18222..5105f84 100644 --- a/application/controllers/helpers/SyjPostData.php +++ b/application/controllers/helpers/SyjPostData.php @@ -1,5 +1,5 @@ getRequest()->getPost(); + + if ($form instanceof Syj_Processor_Interface) { + $form->process($data); + } + if (!$form->isValid($data)) { throw new Syj_Exception_Request(); }