Changement empreinte
This commit is contained in:
parent
a3369f5191
commit
50065e7903
@ -1588,8 +1588,8 @@ function LienHeadEntete()
|
||||
|
||||
function LienHeadData($siren, $nic, $values)
|
||||
{
|
||||
global $dbMetier;
|
||||
$c = new Metier_Liens_Base($siren, 'siren', $dbMetier);
|
||||
$c = new Metier_Liens_Base();
|
||||
$c->setId($siren, 'siren');
|
||||
$c->stopAtFirstIsin = true;
|
||||
$id = $c->getHead();
|
||||
$result = $c->getIdentity($id);
|
||||
@ -1628,8 +1628,8 @@ function LienHeadUltimateEntete()
|
||||
|
||||
function LienHeadUltimateData($siren, $nic, $values)
|
||||
{
|
||||
global $dbMetier;
|
||||
$c = new Metier_Liens_Base($siren, 'siren', $dbMetier);
|
||||
$c = new Metier_Liens_Base();
|
||||
$c->setId($siren, 'siren');
|
||||
$c->stopAtPP = false;
|
||||
$id = $c->getHead();
|
||||
$result = $c->getIdentity($id);
|
||||
@ -1776,8 +1776,8 @@ function actionnairesEntete()
|
||||
|
||||
function actionnairesMultiple($siren, $nic)
|
||||
{
|
||||
global $dbMetier;
|
||||
$liensM = new Metier_Liens_Base($siren, 'siren', $dbMetier);
|
||||
$liensM = new Metier_Liens_Base();
|
||||
$liensM->setId($siren, 'siren');
|
||||
$result = $liensM->getActionnaires(null, true);
|
||||
$tabData = array();
|
||||
if (count($result)>0) {
|
||||
@ -1864,8 +1864,8 @@ function participationsEntete()
|
||||
|
||||
function participationsMultiple($siren, $nic)
|
||||
{
|
||||
global $dbMetier;
|
||||
$liensM = new Metier_Liens_Base($siren, 'siren', $dbMetier);
|
||||
$liensM = new Metier_Liens_Base();
|
||||
$liensM->setId($siren, 'siren');
|
||||
$result = $liensM->getParticipations(null,true);
|
||||
$tabData = array();
|
||||
if (count($result)>0) {
|
||||
@ -1967,9 +1967,9 @@ function groupesEntete()
|
||||
}
|
||||
function groupesMultiple($siren, $nic, $values = false)
|
||||
{
|
||||
global $dbMetier;
|
||||
$tabData = array();
|
||||
$c = new Metier_Liens_Base($siren, 'siren', $dbMetier);
|
||||
$c = new Metier_Liens_Base();
|
||||
$c->setId($siren, 'siren');
|
||||
$identity = $c->getIdentity();
|
||||
|
||||
$level = 0;
|
||||
@ -2001,10 +2001,10 @@ function groupesMultiple($siren, $nic, $values = false)
|
||||
}
|
||||
function groupesMultipleById($id, $values = false)
|
||||
{
|
||||
global $dbMetier;
|
||||
$tabData = array();
|
||||
|
||||
$c = new Metier_Liens_Base($id, 'ref', $dbMetier);
|
||||
$c = new Metier_Liens_Base();
|
||||
$c->setId($id, 'ref');
|
||||
$identity = $c->getIdentity();
|
||||
|
||||
$level = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user