AJout de _forward
This commit is contained in:
parent
49092c1083
commit
e60dd866ff
@ -21,7 +21,10 @@ class EvaluationController extends Zend_Controller_Action
|
||||
->appendStylesheet('/themes/default/styles/evaluation.css', 'all');
|
||||
}
|
||||
|
||||
public function indexAction(){}
|
||||
public function indexAction()
|
||||
{
|
||||
$this->_forward('entreprise', 'recherche');
|
||||
}
|
||||
|
||||
public function printscoresAction()
|
||||
{
|
||||
@ -74,6 +77,9 @@ class EvaluationController extends Zend_Controller_Action
|
||||
if (empty($autrePage)) {
|
||||
$ws = new WsScores();
|
||||
$infos = $ws->getIndiScore(substr($this->siret, 0,9));
|
||||
|
||||
if ($infos === false) $this->_forward('soap', 'error');
|
||||
|
||||
} else {
|
||||
$infos = $this->getRequest()->getParam('infos');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user