Specify Db

This commit is contained in:
Michael RICOIS 2014-04-14 14:05:48 +00:00
parent e1f9d043a6
commit 51f6d0a690

View File

@ -1505,9 +1505,10 @@ function LienHeadEntete()
function LienHeadData($siren, $nic, $values)
{
global $dbJo;
require_once 'Metier/partenaires/classMLiens2.php';
$c = new MLiens2($siren, 'siren');
$c = new MLiens2($siren, 'siren', $dbJo);
$id = $c->getHead();
$result = $c->getIdentity($id);
$tabData = array();