Suppression controle idClient

This commit is contained in:
Michael RICOIS 2012-02-01 16:58:38 +00:00
parent 625471e2c7
commit acf4490c22

View File

@ -46,16 +46,11 @@ class EnvoiController extends Zend_Controller_Action
$request = $this->getRequest();
$name = $request->getParam('ref', '');
$idClient = $request->getParam('client', '');
$idClient = $request->getParam('client');
if (empty($name)) {
echo "Référence non définie.";
}
if ($idClient!='') {
echo "Client non définie.";
}
if (!empty($name) && !empty($idClient))
}
else
{
$config = new Zend_Config_Ini(APPLICATION_PATH . '/configs/configuration.ini', 'path');
$path = realpath($config->data).'/validation';