Correction ref à vide

This commit is contained in:
Michael RICOIS 2012-01-03 16:31:56 +00:00
parent bfca86274e
commit 0515237d30

View File

@ -72,9 +72,9 @@ class ComptageController extends Zend_Controller_Action
$this->_helper->viewRenderer->setNoRender(true);
$request = $this->getRequest();
$ref = $request->getParam('ref');
$ref = $request->getParam('ref', '');
if (!empty($ref)) {
if (empty($ref)) {
echo 'Référence non définie !';
} else {
//Session