On limite pour les paramètres hors associations
This commit is contained in:
parent
e5b024cc04
commit
25ed29184a
@ -622,11 +622,12 @@ class Menu
|
||||
if (!empty($this->id)) { $params['id'] = $this->id; }
|
||||
switch($action){
|
||||
case 'annonces':
|
||||
require_once 'Scores/SessionEntreprise.php';
|
||||
$session = new SessionEntreprise($this->siret, $this->id);
|
||||
$params['idAnn'] = $session->getSourceId();
|
||||
$params['source'] = $session->getSource();
|
||||
|
||||
if (empty($this->siret) || intval($this->siret)==0){
|
||||
require_once 'Scores/SessionEntreprise.php';
|
||||
$session = new SessionEntreprise($this->siret, $this->id);
|
||||
$params['idAnn'] = $session->getSourceId();
|
||||
$params['source'] = $session->getSource();
|
||||
}
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user