Using now BaseAction methods in Cartp.php

This commit is contained in:
franck
2013-08-08 11:43:27 +02:00
parent 2bb98352be
commit 81a5664653
2 changed files with 33 additions and 38 deletions

View File

@@ -31,7 +31,7 @@ use Thelia\Core\Event\ActionEvent;
abstract class BaseAction
{
protected function validateForm(BaseForm $aBaseForm, $expectedMethod = 'POST')
protected function validateForm(BaseForm $aBaseForm, $expectedMethod = null)
{
$form = $aBaseForm->getForm();